UIImage.DrawAsPatternInRect(CGRect) 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.
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.