Expand description
SVG path geometric transformations.
Functionsยง
- reset_
path - Resets a path so its top-left bounding box corner is at
(0, 0). - reverse_
path - Reverses the direction of an SVG path so drawing animation runs backwards.
- rotate_
path - Rotates an SVG path by
angle_radaround center(cx, cy). - scale_
path - Scales an SVG path string by factors
(sx, sy). - translate_
path - Translates (offsets) an SVG path string by
(dx, dy). - warp_
path - Warps an SVG path by transforming each coordinate with custom mapping
f.