August 2006
Intermediate to advanced
1018 pages
34h 13m
English
CanvasRenderingContext2D.moveTo( ): sets the current position and begins a new subpath
void moveTo(floatx, floaty)
x, y
The coordinates of the new current point.
moveTo( ) sets the current
position to (
x ,
y )
and creates a new subpath with this as its first point. If there was
a previous subpath and it consisted of just one point, that subpath
is removed from the path.
CanvasRenderingContext2D.beginPath(
)
Read now
Unlock full access