image/svg+xml
(cx,cy)
r
circlecx: centre point x coordinatecy: centre point y coordinater: radius
(cx,cy)
ry
rx
ellipsecx: centre point x coordinatecy: centre point y coordinaterx: radius in x directionry: radius in y direction
(x2,y2)
(x1,y1)
linex1: start point x coordinatey1: start point y coordinatex2: end point x coordinatey2: end point y coordinate
(x,y)
height
ry
width
rx
rectx: upper left corner x coordinatey: upper left corner y coordinatewidth: rectangle widthheight: rectangle heightrx: corner roundoff, x axisry: corner roundoff, y axis
polylinepoints: list of couples of coordinates for polyline
polygonpoints: list of couples of coordinates for polygon
SomeText
textx: start, x coordinatey: start, y coordinatedx: shift along x coordinatedy: shift along y coordinaterotate: rotation for each chartextLength: set length of textlengthAdjust: spacing or spacingAndGlyphs
imagex: upper left corner x coordinatey: upper left corner y coordinatewidth: image widthheight: image heightxlink:href: image URI
tspanx: part start, x coordinatey: part start, y coordinatedx: part shift along x dy: part shift along y rotate: rotation of each chartextLength: set length of text trefxlink:href: URI reference that points to the text location
textpathstartOffset: start of text positionmethod: align or stretchspacing: auto or exactxlink:href: URI pointing to path
textpath
M x,y
(x,y)
m x,y
(x,y)
move to pointM/m: absolute/relative(x,y): destination
L x,y
(x,y)
l x,y
(x,y)
line to destinationL/l: absolute/relativeH/h: horizontal abs/relV/v: vertical abs/relx: x destination (no V/v)y: y destination (no H/h)
Q x1,y1 x,y
(x1,y1)
(x,y)
quadratic bezierQ/q: absolute/relativeT/t: smooth abs/rel (ctrl point symmetric from last command)(x1,y1): Q/q ctrl point(x,y): destination
q x1,y1 x,y
(x1,y1)
(x,y)
Z/z
close pathZ/z: close path
C x1,y1 x2,y2 x,y
(x1,y1)
(x,y)
(x2,y2)
(x1,y1)
(x,y)
(x2,y2)
c x1,y1 x2,y2 x,y
cubic bezierC/c: absolute/relativeS/s: smooth abs/rel (ctrl point symmetric from last command)(x1,y1): first ctrl point (no S/s)(x2,y2): second ctrl(x,y): destination
elliptical arcA/a: absolute/relative(rx,ry): x and y ellipse radiiR: rotationl: large arc selector 0: small - 1: larges: sweep direction 0: counterclock - 1: clockwise(x,y): destination point
(x,y)
ry
rx
R
l,s
A/a rx,ry R l,s x,y
pathd: list of path commandspathLength: path length
path elements usex: upper left corner xy: upper left corner ywidth: rectangle widthheight: rectangle heightxlink-href: reference URI to the element to be used axlink-href: reference URI to the element to be usedxlink-show: where to show the link (new or replace) defsContains definition of elements that are not directly rendered but can be used referencing the by their id markerid: unique id for marker reusemarkerUnits: coordinate system (strokeWidth or userSpaceOnUse)refX,refY: displacement of coordinates reference point markerWidth,markerHeight: viewport limitsorient: marker orientation (auto or angle) Copyright © 2010 by Flavio Poletti - http://www.polettix.it/