Skip to main content
clip method

Specifies a new clipping region.

HTML Canvas 2D Context, Section 9 Internet Explorer 9

Syntax

CanvasRenderingContext2D.clip();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Standards information

Remarks

The 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.

See also

CanvasRenderingContext2D

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012