UIImage.Draw 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.
Overloads
| Name | Description |
|---|---|
| Draw(CGPoint) | |
| Draw(CGRect) | |
| Draw(CGPoint, CGBlendMode, NFloat) |
Draws the UIImage into the current graphics context at the specified |
| Draw(CGRect, CGBlendMode, NFloat) |
Draws the UIImage into the current graphics context in the specified |
Draw(CGPoint)
[Foundation.Export("drawAtPoint:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
[ObjCRuntime.ThreadSafe]
public virtual void Draw(CoreGraphics.CGPoint point);
[<Foundation.Export("drawAtPoint:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<ObjCRuntime.ThreadSafe>]
abstract member Draw : CoreGraphics.CGPoint -> unit
override this.Draw : CoreGraphics.CGPoint -> unit
Parameters
- point
- CGPoint
- Attributes
Applies to
Draw(CGRect)
[Foundation.Export("drawInRect:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
[ObjCRuntime.ThreadSafe]
public virtual void Draw(CoreGraphics.CGRect rect);
[<Foundation.Export("drawInRect:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<ObjCRuntime.ThreadSafe>]
abstract member Draw : CoreGraphics.CGRect -> unit
override this.Draw : CoreGraphics.CGRect -> unit
Parameters
- rect
- CGRect
- Attributes
Applies to
Draw(CGPoint, CGBlendMode, NFloat)
Draws the UIImage into the current graphics context at the specified point, with blending mode and alpha as specified.
[Foundation.Export("drawAtPoint:blendMode:alpha:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
[ObjCRuntime.ThreadSafe]
public virtual void Draw(CoreGraphics.CGPoint point, CoreGraphics.CGBlendMode blendMode, System.Runtime.InteropServices.NFloat alpha);
[<Foundation.Export("drawAtPoint:blendMode:alpha:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<ObjCRuntime.ThreadSafe>]
abstract member Draw : CoreGraphics.CGPoint * CoreGraphics.CGBlendMode * System.Runtime.InteropServices.NFloat -> unit
override this.Draw : CoreGraphics.CGPoint * CoreGraphics.CGBlendMode * System.Runtime.InteropServices.NFloat -> unit
Parameters
- point
- CGPoint
- blendMode
- CGBlendMode
- alpha
- NFloat
- Attributes
Remarks
(More documentation for this node is coming)
This can be used from a background thread.
Applies to
Draw(CGRect, CGBlendMode, NFloat)
Draws the UIImage into the current graphics context in the specified rect, with blending mode and alpha as specified.
[Foundation.Export("drawInRect:blendMode:alpha:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
[ObjCRuntime.ThreadSafe]
public virtual void Draw(CoreGraphics.CGRect rect, CoreGraphics.CGBlendMode blendMode, System.Runtime.InteropServices.NFloat alpha);
[<Foundation.Export("drawInRect:blendMode:alpha:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<ObjCRuntime.ThreadSafe>]
abstract member Draw : CoreGraphics.CGRect * CoreGraphics.CGBlendMode * System.Runtime.InteropServices.NFloat -> unit
override this.Draw : CoreGraphics.CGRect * CoreGraphics.CGBlendMode * System.Runtime.InteropServices.NFloat -> unit
Parameters
- rect
- CGRect
- blendMode
- CGBlendMode
- alpha
- NFloat
- Attributes
Remarks
(More documentation for this node is coming)
This can be used from a background thread.