clip method
Specifies a new clipping region.
![]() ![]() |
Syntax
object.clip();
Parameters
This method has no parameters.
Return value
This method does not return a value.
Standards information
- HTML Canvas 2D Context, Section 9
Remarks
The ICanvasRenderingContext2D::clip method creates a new clipping region by calculating the intersection of the current clipping region and the area that the current path describes, by using the non-zero winding number rule. The new clipping region replaces the current clipping region.
Build date: 11/12/2012

