Interface: PathState
Defined in: render/descriptors/path.ts:49
Extends
Properties
centerBounds?
optionalcenterBounds?:PathBounds
Defined in: render/descriptors/path.ts:62
Explicit frame to center the path against, as [minX, minY, maxX, maxY] in the path's own coordinate space. When set, the path is shifted so this box's center lands on the local origin — instead of the path centering on its own bbox.
Use this when several paths share one layout frame (e.g. per-glyph LaTeX tokens). Passing the same whole-shape bounds to every path keeps their relative positions intact, where per-path self-centering would collapse them onto a single point. When unset, the path centers on its own bbox.
d
d:
PathData
Defined in: render/descriptors/path.ts:50
effects
effects:
SceneEffect[]
Defined in: render/descriptors/transform.ts:12
Inherited from
end
end:
number
Defined in: render/descriptors/shape.ts:5
Inherited from
height
height:
number
Defined in: render/descriptors/transform.ts:8
Inherited from
opacity
opacity:
number
Defined in: render/descriptors/transform.ts:9
Inherited from
pivot
pivot:
Vector2
Defined in: render/descriptors/transform.ts:14
Pivot point for rotation and scale, in normalised node space. (0,0)=center, (-1,1)=top-left, (1,-1)=bottom-right.
Inherited from
rotation
rotation:
number
Defined in: render/descriptors/transform.ts:10
Inherited from
scale
scale:
number
Defined in: render/descriptors/transform.ts:11
Inherited from
start
start:
number
Defined in: render/descriptors/shape.ts:4
Inherited from
width
width:
number
Defined in: render/descriptors/transform.ts:7
Inherited from
x
x:
number
Defined in: render/descriptors/transform.ts:5
Inherited from
y
y:
number
Defined in: render/descriptors/transform.ts:6