path_parsing library
Classes
- PathProxy
- A receiver for normalized PathSegmentData.
- PathSegmentData
- SvgPathNormalizer
- SvgPathStringSource
Functions
-
blendPoints(
_PathOffset p1, _PathOffset p2) → _PathOffset - Blend the points with a ratio (1/3):(2/3).
-
isCubicCommand(
SvgPathSegType command) → bool -
isQuadraticCommand(
SvgPathSegType command) → bool -
reflectedPoint(
_PathOffset reflectedIn, _PathOffset pointToReflect) → _PathOffset -
writeSvgPathDataToPath(
String? svg, PathProxy path) → void -
Parse
svg
, emitting the segment data topath
.