August 2006
Intermediate to advanced
1018 pages
34h 13m
English
CanvasRenderingContext2D.beginPath( ): start a new collection of subpaths in a canvas
void beginPath( )
beginPath( ) discards any
currently defined path and begins a new one. It sets the current
point to (0,0).
When the context for a canvas is first created, beginPath( ) is implicitly called.
CanvasRenderingContext2D.closePath(
)
|
CanvasRenderingContext2D.fill(
)
|
CanvasRenderingContext2D.stroke(
)
|
| Chapter 22 |
Read now
Unlock full access