Share via


CIContext.DrawImage Method

Definition

Overloads

Name Description
DrawImage(CIImage, CGPoint, CGRect)

Developers should not use this deprecated method. Developers should use 'DrawImage (image, CGRect, CGRect)' instead.

DrawImage(CIImage, CGRect, CGRect)

Draws the fromRectangle portion of image into the rectangle specified by inRectangle.

DrawImage(CIImage, CGPoint, CGRect)

Developers should not use this deprecated method. Developers should use 'DrawImage (image, CGRect, CGRect)' instead.

[Foundation.Export("drawImage:atPoint:fromRect:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DrawImage(CoreImage.CIImage image, CoreGraphics.CGPoint atPoint, CoreGraphics.CGRect fromRect);
[<Foundation.Export("drawImage:atPoint:fromRect:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DrawImage : CoreImage.CIImage * CoreGraphics.CGPoint * CoreGraphics.CGRect -> unit
override this.DrawImage : CoreImage.CIImage * CoreGraphics.CGPoint * CoreGraphics.CGRect -> unit

Parameters

image
CIImage
atPoint
CGPoint
fromRect
CGRect
Attributes

Applies to

DrawImage(CIImage, CGRect, CGRect)

Draws the fromRectangle portion of image into the rectangle specified by inRectangle.

[Foundation.Export("drawImage:inRect:fromRect:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DrawImage(CoreImage.CIImage image, CoreGraphics.CGRect inRectangle, CoreGraphics.CGRect fromRectangle);
[<Foundation.Export("drawImage:inRect:fromRect:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DrawImage : CoreImage.CIImage * CoreGraphics.CGRect * CoreGraphics.CGRect -> unit
override this.DrawImage : CoreImage.CIImage * CoreGraphics.CGRect * CoreGraphics.CGRect -> unit

Parameters

image
CIImage

The image to draw.

inRectangle
CGRect

The rectangle where to draw the image.

fromRectangle
CGRect

The rectangle of the image to draw.

Attributes

Applies to