Skip to main content

Interface: SvgPattern

Defined in: src/mobjects/svg/svgPatterns.ts:30

Parsed SVG <pattern> definition.

Properties​

content​

content: Element[]

Defined in: src/mobjects/svg/svgPatterns.ts:42

Drawable child elements of the tile, in document order.


height​

height: number

Defined in: src/mobjects/svg/svgPatterns.ts:40

Tile height in the patternUnits system.


id​

id: string

Defined in: src/mobjects/svg/svgPatterns.ts:32

The pattern id used by url(#id) references.


patternContentUnits​

patternContentUnits: SvgPatternUnits

Defined in: src/mobjects/svg/svgPatterns.ts:36

Coordinate system of the tile content (default userSpaceOnUse).


patternUnits​

patternUnits: SvgPatternUnits

Defined in: src/mobjects/svg/svgPatterns.ts:34

Coordinate system of width/height (default objectBoundingBox).


width​

width: number

Defined in: src/mobjects/svg/svgPatterns.ts:38

Tile width in the patternUnits system.