OptionalcolorOptional color override registry, typically animator.colorOverrides.
When set, the renderer consults it before falling back to
getVertexColors / getStrokeVertexColors. Function-form overrides
receive the base color array and the current animation timestamp.
OptionalgetPer-node fill paint. Return null/undefined to skip filling.
OptionalgetPer-node stroke. Return null/undefined to skip stroking.
OptionalgetPer-node stroke vertex-color array, flat RGBA-per-path-anchor, in
0..1 floats (same color space as Stroke.vertexColors).
Length must be 4 × countPathAnchors(getPath(node)). When set and
getStroke returns null/undefined, a white 1px placeholder stroke
is synthesized.
OptionalgetPer-node stroke vertex-width array (one width per anchor).
Length must be countPathAnchors(getPath(node)). The tessellator
interpolates half-widths along each segment for tapered strokes.
When set and getStroke returns null/undefined, a 1px placeholder
stroke is synthesized so the per-anchor widths take effect.
OptionalgetPer-node fill vertex-color array, flat RGBA-per-path-anchor, in
0..1 floats (same color space as PathDrawCommand.vertexColors).
Length must be 4 × countPathAnchors(getPath(node)). When set and
getFill returns null/undefined, a white placeholder fill is
synthesized so the renderer's per-vertex shader path activates.
OptionalidOptionalisOptional per-node hide hook (e.g., suppress while editing).
OptionallabelOptionalnowClock used to timestamp function-form color overrides. Defaults to
performance.now. Override in tests.
Options for
createPathLayer.