Edit

Share via


UIImage.DrawAsPatternInRect(CGRect) Method

Definition

This method will draw an image in the specified rectangle.

[Foundation.Export("drawAsPatternInRect:")]
[ObjCRuntime.ThreadSafe]
public virtual void DrawAsPatternInRect (CoreGraphics.CGRect rect);
abstract member DrawAsPatternInRect : CoreGraphics.CGRect -> unit
override this.DrawAsPatternInRect : CoreGraphics.CGRect -> unit

Parameters

rect
CGRect

The rectangle in which to draw the image (using the coordinate system of the graphics context).

Attributes

Remarks

This can be used from a background thread.

Applies to