UIGraphicsRendererContext.ClipToRect(CGRect) Method

Definition

Clips (or "crops") the image to the specified rect.

[Foundation.Export("clipToRect:")]
public virtual void ClipToRect (CoreGraphics.CGRect rect);
abstract member ClipToRect : CoreGraphics.CGRect -> unit
override this.ClipToRect : CoreGraphics.CGRect -> unit

Parameters

rect
CGRect

The clipping rectangle.

Attributes

Applies to