DrawableOpts
Defined in: core/scene.ts:88
Properties
Section titled “Properties”anchor?
Section titled “anchor?”
optionalanchor?: [number,number]
Defined in: core/scene.ts:103
Optional glyph anchor in world coordinates. When set, in “screen” sizeMode the whole drawable (fill + stroke) is rendered at a constant pixel size around the projected anchor (e.g. a pie or symbol pinned to a node). When unset, fills stay in world space and strokes render at a constant pixel width about their own centerline.
lineCap?
Section titled “lineCap?”
optionallineCap?:LineCap
Defined in: core/scene.ts:96
End-cap style for open subpaths (“butt” default | “square” | “round”).
lineJoin?
Section titled “lineJoin?”
optionallineJoin?:LineJoin
Defined in: core/scene.ts:92
Stroke join style (“bevel” default | “miter” | “round”) — see LineJoin.
lineWidth?
Section titled “lineWidth?”
optionallineWidth?:number
Defined in: core/scene.ts:90
Stroke width in coordinate units. 0/undefined => no stroke geometry.
miterLimit?
Section titled “miterLimit?”
optionalmiterLimit?:number
Defined in: core/scene.ts:94
Miter length / width above which a miter falls back to a bevel (default 10).