CGContext.Clip Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the current path of the graphics context to be the clipping path.
public void Clip ();
member this.Clip : unit -> unit
Remarks
The current path is changed to become the current clipping path, with interiors determined by the "non-zero winding rule" (see CGPathDrawingMode). Any open subpaths are closed, as if the developer had called ClosePath(). The current path of the CGContext is then reset.