This topic has not yet been rated - Rate this topic

clip method

Specifies a new clipping region.

HTML Canvas 2D Context, Section 9Internet Explorer 9

Syntax


object.clip();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Standards information

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

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.