Section 25.33. CanvasRenderingContext2D.restore( ): reset drawing state to saved values


25.33. CanvasRenderingContext2D.restore( ): reset drawing state to saved values

25.33.1. Synopsis

 void restore( ) 

25.33.2. Description

This method pops the stack of saved graphics states and restores the values of the CanvasRenderingContext2D properties, the clipping path, and the transformation matrix. See the save( ) method for further information.

25.33.3. Bugs

Firefox 1.5 does not correctly save and restore the strokeStyle property.

25.33.4. See Also

CanvasRenderingContext2D.save( )




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