# Strip

interface in `@dioramajs/text/marquee`

```ts
import type { Strip } from '@dioramajs/text/marquee'
```

One copy of the content drawn into a canvas, and where it sits in the box.

```ts
interface Strip
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `canvas` | `HTMLCanvasElement` |  |
| `content` | `number` | Width of the content in px, from its left edge to its right edge. |
| `frame` | `readonly [number, number, number, number]` | The canvas in box px: x, y, width, height. |
| `height` | `number` |  |
| `tainted` | `boolean` | An image from another origin without CORS made the canvas unreadable. |
| `trailing` | `number` | Space after the content before the next copy: the row's CSS gap, or 1em for plain text. |
| `width` | `number` | Box width and height the strip was drawn at. |

Defined in [packages/text/src/marquee.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/text/src/marquee.ts#L56).
