|
|
## Elements
|
|
|
Note that all colors must be in HEX. RGB is not supported
|
|
|
### Supported
|
|
|
| **Elements** | **Attributes** |
|
|
|
|:--------------:|:-----------------------------:|
|
|
|
| rect | (x, y, width, height, rx, ry) |
|
|
|
| path | (d) |
|
|
|
| polygon | (points) |
|
|
|
| polyline | (points) |
|
|
|
| line | (x1, y1, x2, y2) |
|
|
|
| circle | (cx, cy, r) |
|
|
|
| ellipse | (cx, cy, rx, ry) |
|
|
|
| svg | (width, height, viewBox) |
|
|
|
| linearGradient | |
|
|
|
| radialGradient | |
|
|
|
| g | |
|
|
|
| use | |
|
|
|
| defs | |
|
|
|
|
|
|
### Not-supported
|
|
|
| **Elements** |
|
|
|
|:------------:|
|
|
|
| marker |
|
|
|
| view |
|
|
|
| text |
|
|
|
| switch |
|
|
|
| image |
|
|
|
| a |
|
|
|
| symbol |
|
|
|
| clipPath |
|
|
|
| pattern |
|
|
|
|
|
|
__________________________________
|
|
|
|
|
|
## Attributes
|
|
|
### Supported
|
|
|
| **Support** |
|
|
|
|:-------------------:|
|
|
|
| transform |
|
|
|
| fill |
|
|
|
| fill-opacity |
|
|
|
| fill-rule |
|
|
|
| stroke |
|
|
|
| stroke-width |
|
|
|
| stroke-opacity |
|
|
|
| stroke-linecap |
|
|
|
| stroke-linejoin |
|
|
|
| stroke-miterlimit |
|
|
|
| stroke-dasharray |
|
|
|
| stroke-dashoffset |
|
|
|
| opacity |
|
|
|
| visibility |
|
|
|
| display |
|
|
|
| stop-color |
|
|
|
| stop-opacity |
|
|
|
| preserveAspectRatio |
|
|
|
| viewBox |
|
|
|
| height |
|
|
|
| width |
|
|
|
| href |
|
|
|
| id |
|
|
|
| d |
|
|
|
| x |
|
|
|
| x1 |
|
|
|
| x2 |
|
|
|
| y |
|
|
|
| y1 |
|
|
|
| y2 |
|
|
|
| cs |
|
|
|
| cy |
|
|
|
| r |
|
|
|
| fx |
|
|
|
| fy |
|
|
|
| style |
|
|
|
| gradientUnits |
|
|
|
| gradientTransform |
|
|
|
| points |
|
|
|
| offset |
|
|
|
|
|
|
### Not-supported
|
|
|
| **Not support** |
|
|
|
|:----------------------------:|
|
|
|
| alignment-baseline |
|
|
|
| baseline-shift |
|
|
|
| clip |
|
|
|
| clip-path |
|
|
|
| clip-rule |
|
|
|
| color-interpolation |
|
|
|
| color-interpolation-filters |
|
|
|
| color-profile |
|
|
|
| color-rendering |
|
|
|
| cursor |
|
|
|
| direction |
|
|
|
| dominant-baseline |
|
|
|
| enable-background |
|
|
|
| filter |
|
|
|
| flood-color |
|
|
|
| flood-opacity |
|
|
|
| font-family |
|
|
|
| font-size |
|
|
|
| font-size-adjust |
|
|
|
| font-stretch |
|
|
|
| font-style |
|
|
|
| font-variant |
|
|
|
| font-weight |
|
|
|
| glyph-orientation-horizontal |
|
|
|
| glyph-orientation-vertical |
|
|
|
| image-rendering |
|
|
|
| kerning |
|
|
|
| letter-spacing |
|
|
|
| lighting-color |
|
|
|
| marker-end |
|
|
|
| marker-mid |
|
|
|
| marker-start |
|
|
|
| mask |
|
|
|
| overflow |
|
|
|
| pointer-events |
|
|
|
| shape-rendering |
|
|
|
| text-anchor |
|
|
|
| text-decoration |
|
|
|
| text-rendering |
|
|
|
| unicode-bidi |
|
|
|
| word-spacing |
|
|
|
| writing-mode | |