Skip to main content

Module path2d

Module path2d 

Source
Expand description

Double-precision path values, with copy-on-write geometry.

Structs§

MorphPath
A checked path value for geometry interpolation and fill/stroke. Original path snapshots are retained at exact animation endpoints.
Path2D
A cheaply cloned, checked f64 path with lazily cached geometric bounds.

Enums§

PathVerb
An absolute logical-coordinate path operation.

Constants§

MAX_PATH_VERBS
Maximum stored verbs in one path; mutations beyond it fail atomically.
MAX_SVG_PATH_BYTES
Maximum UTF-8 bytes accepted by one SVG path-data import.