August 2006
Intermediate to advanced
1018 pages
34h 13m
English
CanvasRenderingContext2D.translate( ): translate the user coordinate system of the canvas
void translate(floatdx, floatdy)
dx, dy
The amounts to translate in the X and Y dimensions.
translate( ) adds
horizontal and vertical offsets to the transformation matrix of the
canvas. The arguments dx and
dy are added to all points in any
subsequently defined paths.
CanvasRenderingContext2D.rotate(
), CanvasRenderingContext2D.scale( )
Read now
Unlock full access