Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns previously saved CanvasRenderingContext2D path state and attributes.
![]() ![]() |
Syntax
object.restore();
Parameters
This method has no parameters.
Return value
This method does not return a value.
Standards information
- HTML Canvas 2D Context, Section 2
Remarks
Use the ICanvasRenderingContext2D::save method to save the current state of the context. Save and restore the following states and attributes:
The current transformation matrix
The current clipping region
The current values of the following attributes:
Attribute
.png)
.png)