Edit

Share via


CGContext.ClipToRect(CGRect) Method

Definition

Modifies the clipping path to be the intersection of the current path and the supplied rectangle.

public void ClipToRect (CoreGraphics.CGRect rect);
member this.ClipToRect : CoreGraphics.CGRect -> unit

Parameters

rect
CGRect

A rectangle.

Applies to