6.8 Transformation Reference Summary

<line x1="start-x" y1="start-y"x2="end-x" y2="end-y"/>
Draws a line from the starting point at coordinates (start-x, start-y) to the ending point at coordinates (end-x, end-y).
<rect x="left-x" y="top-y" width="width" height="height"/>
Draws a rectangle whose upper left corner is at (left-x, top-y) with the given width and height.
<circle cx="center-x" cy="center-y"r="radius"/>
Draws a circle with the given radius, centered at (center-x, center-y).
translate(x,y)
Moves the user coordinate system by the specified x and y amounts.
Note: If you don't specify a y value, zero is assumed
scale(xFactor, yFactor)
Multiplies all user coordinate systems by the specified xFactor and yFactor.
The factors may be fractional or negative.
scale(factor)
The same as scale(factor, factor)
rotate(angle)
Rotates the user coordinate by the specified angle. The center of rotation is the origin (0, 0).
In the default coordinate system, angle measure increases as you rotate clockwise, with a horizontal line having an angle of zero degrees.
rotate(angle, cenerX, centerY)
Rotates the user coordinate by the specified angle.
centerX and centerY specify the center of rotation.
skewX(angle)
Skews all x-coordinates by the specified angle.
Visually, this makes vertical lines appear at an angle.
skewY(angle)
Skews all y-coordinates by the specified angle.
Visually, this makes horizontal lines appear at an angle.