Upravit

Sdílet prostřednictvím


CGContext.Clip Method

Definition

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.

Applies to