Section 25.14. CanvasRenderingContext2D.beginPath( ): start a new collection of subpaths in a canvas


25.14. CanvasRenderingContext2D.beginPath( ): start a new collection of subpaths in a canvas

25.14.1. Synopsis

 void beginPath( ) 

25.14.2. Description

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.

25.14.3. See Also

CanvasRenderingContext2D.closePath( )
CanvasRenderingContext2D.fill( )
CanvasRenderingContext2D.stroke( )
Chapter 22



JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net