Capítulo 274 de 411
Converts basic SVG shapes (circle, rect, ellipse, line) into <path> elements — identical utility to MorphSVGPlugin's version, exposed here too since MotionPath also needs path-based shapes.
| Parameter | Type |
|---|---|
| shape | String | Element |
| swap | Boolean (default true) |
Returns: Array of resulting <path> elements.