To help you build SVG files that will be
fully understood by the SVG reader of Rogue Wave JViews, use the
following tables to see which SVG elements and CSS properties are
supported/unsupported.
Supported SVG elements
Element
name |
Attributes
not supported on this element |
---|---|
a
|
xlink:role
,
xlink:acrole
,
xlink:actuate
display
|
circle
|
display
|
clipPath
|
clipPathUnits
|
defs
|
|
desc
|
|
ellipse
|
display
|
g
|
display
|
image
|
display
|
line
|
display
|
linearGradient
|
|
metadata
|
|
path
|
display
|
pattern
|
patternUnits
,
patternTransform
|
polygon
|
display
|
polyline
|
display
|
radialGradient
|
|
rect
|
display
|
stop
|
|
style
|
!important
rules are not supported
|
svg
|
zoomAndPan
display
|
switch
|
display
|
symbol
|
refX
,
refY
,
viewBox
,
preserveAspectRatio
,
display
|
text
|
textLength, lengthAdjust
,
display
|
textPath
|
textLength, lengthAdjust,
startOffset, method, spacing
,
display
|
title
|
|
tspan
|
multiple values
x, y, dx, dy
(single values supported),
rotate, textLength
,
display
|
use
|
Supported CSS properties
Property
name |
Remark |
---|---|
clip-path
|
URI
local to the file only. |
color
|
|
color-interpolation
|
Supported on
linearGradient
and
radialGradient.
|
fill
|
URI
local to the file only, ICC colors are not supported. |
fill-opacity
|
|
fill-rule
|
|
font-family
|
|
font-size
|
Relative
identifiers are not supported. |
font-stretch
|
Relative
identifiers are not supported. |
font-style
|
|
font-weight
|
Relative
identifiers are not supported. |
opacity
|
Supported on basic shapes, paths, and
g
(group) elements.
|
stop-color
|
ICC
colors are not supported. |
stop-opacity
|
|
stroke
|
URI
local to the file only, ICC colors are not supported. |
stroke-dasharray
|
|
stroke-dashoffset
|
|
stroke-linecap
|
|
stroke-linejoin
|
|
stroke-miterlimit
|
|
stroke-opacity
|
|
stroke-width
|
|
text-anchor
|
|
visibility
|