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.
PathBooleanOptions
Fill interpretation, curve precision and admission limits for a boolean operation.
PathBuilder
Collects path verbs fluently and reports the first failure from Self::build.

Enums§

PathBooleanOp
Region combination applied by Path2D::boolean.
PathVerb
An absolute logical-coordinate path operation.

Constants§

MAX_BOOLEAN_EDGES
Maximum flattened edges accepted from both operands of one boolean operation.
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.