Documentation / @ripl/core / PatternTileGeometry
Interface: PatternTileGeometry ​
Defined in: packages/core/src/pattern/types.ts:48
The renderer-agnostic geometry of a single repeating pattern tile.
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
shapes | PatternTileShape[] | The primitive shapes to draw within the tile, in paint order. Shapes may extend beyond the tile bounds so the motif tiles seamlessly once clipped and repeated. | packages/core/src/pattern/types.ts:52 |
size | number | The width and height of the square tile, in user-space pixels. | packages/core/src/pattern/types.ts:50 |