Skip to content

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 ​

PropertyTypeDescriptionDefined in
shapesPatternTileShape[]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
sizenumberThe width and height of the square tile, in user-space pixels.packages/core/src/pattern/types.ts:50