-
Notifications
You must be signed in to change notification settings - Fork 826
SVG support
Artem Pavlenko edited this page Aug 8, 2019
·
10 revisions
Note that all colors must be in HEX. RGB is not 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 |
Elements |
---|
marker |
view |
text |
switch |
image |
a |
symbol |
clipPath |
pattern |
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 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 |