How SVG elements and mixins are organized
mastersvgwrite categorizes SVG components into several functional groups:
- Structural Elements: Containers like
Drawing,SVG,Group,Defs,Symbol,Marker,Use, andHyperlink. - Graphical Elements: Shapes such as
Line,Rect,Circle,Ellipse,Polyline,Polygon, andPath. - Text Objects:
Text,TSpan,TRef,TextPath, andTextArea. - Paint Servers:
LinearGradientandRadialGradient. - Masking:
MaskandClipPath. - Animation:
Set,Animate,AnimateColor,AnimateMotion, andAnimateTransform. - Filter Effects:
Filter.
Additionally, Mixins provide shared functionality across elements, including ViewBox, Transform, XLink, Presentation, MediaGroup, Markers, and Clipping.