Each object is described by the following tags.
Dynamic Draw Objects | SVG Output Tags | Remarks |
Line | line | |
Rectangle | rect | |
Rounded Rectangle | rect(rx,ry) | |
Arc (Pie) | path('L', 'A') | |
Arc (Cutoff) | path('L', 'A') | |
Arc (Arc) | path('A') | |
Arc (Circle) | circle | |
Arc (Ellipse) | ellipse | |
Polyline (Straight line) | line | If no joint. |
Polyline (Straight lines) | polyline | If more than one joint. |
Polyline (Curved lines) | path('C') | |
Wide Polyline (Skeleten) | line or polyline or path('C') | Refer to Wide Polyline Option |
Wide Polyline (Shape) | polyline or path('C') | Refer to Wide Polyline Option |
Group | g | Nesting is OK. |
OLE | image and PNG data | Refer to PNG Image Output |
Label (Type 1) | path and PNG data | Refer to PNG Image Output |
Label (Type 2) | path | |
Arrow | polyline, etc | |
Picture Arrow | etc |
The text of object is described by the following tags.
SVG Output Tags | Remarks |
text + tspan | x, y, style (font-size, font-family, font-weight, fill, text-decoration, rotate, etc) |
The pen attribute is described by the following parameters.
Attributes | Parameters | Remarks |
Registerd Pen | Not supported | |
Pen Style | style:dasharray | |
Pen Weight | style:stroke-width | |
Background Color | style:stroke ('none' or color name or rgb) | Use color name as possible. |
The brush attribute is described by the following parameters.
Attributes | Parameters | Remarks |
Registered Brush | Not supported | |
Background Color | style:fill ('none' or color name or rgb) | Use color name as possible. |
Brush Pattern | 'none' or (defs + clipPath + shape + pattern + style:clip-path) | |
Foreground Color | Output as a color of pattern |
The shadow of object is described by the following parameters.
Attributes | Parameters | Remarks |
Shape | style:filter | |
Color | style:fill ('none' or color name or rgb) | Use color name as possible. |