Skip to content

Interface: CustomGeometryPath ​

One <a:path> of a custom geometry, with its path-unit viewport and render attrs.

Properties ​

commands ​

commands: GeometryCommand[]

The path's segments in document order — order is the geometry.


fill ​

fill: string

Fill mode (a:path/@fill, ST_PathFillMode, e.g. norm/none/lighten). Default norm.


h ​

h: number

Path-unit height (a:path/@h); the y denominator for this path's coords. Default 0.


stroke ​

stroke: boolean

Whether the path is stroked (a:path/@stroke). Default true.


w ​

w: number

Path-unit width (a:path/@w); the x denominator for this path's coords. Default 0.