CIContext.CreateCGImage 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
CreateCGImage(CIImage, CGRect) |
Creates a new CGImage from the |
CreateCGImage(CIImage, CGRect, CIFormat, CGColorSpace) | |
CreateCGImage(CIImage, CGRect, Int32, CGColorSpace) | |
CreateCGImage(CIImage, CGRect, CIFormat, CGColorSpace, Boolean) |
CreateCGImage(CIImage, CGRect)
Creates a new CGImage from the fromRectangle
region of image
.
[Foundation.Export("createCGImage:fromRect:")]
public virtual CoreGraphics.CGImage CreateCGImage (CoreImage.CIImage image, CoreGraphics.CGRect fromRectangle);
abstract member CreateCGImage : CoreImage.CIImage * CoreGraphics.CGRect -> CoreGraphics.CGImage
override this.CreateCGImage : CoreImage.CIImage * CoreGraphics.CGRect -> CoreGraphics.CGImage
Parameters
- image
- CIImage
- fromRectangle
- CGRect
Returns
- Attributes
Applies to
CreateCGImage(CIImage, CGRect, CIFormat, CGColorSpace)
public CoreGraphics.CGImage CreateCGImage (CoreImage.CIImage image, CoreGraphics.CGRect fromRect, CoreImage.CIFormat ciImageFormat, CoreGraphics.CGColorSpace colorSpace);
member this.CreateCGImage : CoreImage.CIImage * CoreGraphics.CGRect * CoreImage.CIFormat * CoreGraphics.CGColorSpace -> CoreGraphics.CGImage
Parameters
- image
- CIImage
- fromRect
- CGRect
- ciImageFormat
- CIFormat
- colorSpace
- CGColorSpace
Returns
Applies to
CreateCGImage(CIImage, CGRect, Int32, CGColorSpace)
[Foundation.Export("createCGImage:fromRect:format:colorSpace:")]
public virtual CoreGraphics.CGImage CreateCGImage (CoreImage.CIImage image, CoreGraphics.CGRect fromRect, int ciImageFormat, CoreGraphics.CGColorSpace colorSpace);
abstract member CreateCGImage : CoreImage.CIImage * CoreGraphics.CGRect * int * CoreGraphics.CGColorSpace -> CoreGraphics.CGImage
override this.CreateCGImage : CoreImage.CIImage * CoreGraphics.CGRect * int * CoreGraphics.CGColorSpace -> CoreGraphics.CGImage
Parameters
- image
- CIImage
- fromRect
- CGRect
- ciImageFormat
- Int32
Returns
- Attributes
Applies to
CreateCGImage(CIImage, CGRect, CIFormat, CGColorSpace, Boolean)
[Foundation.Export("createCGImage:fromRect:format:colorSpace:deferred:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreGraphics.CGImage CreateCGImage (CoreImage.CIImage image, CoreGraphics.CGRect fromRect, CoreImage.CIFormat format, CoreGraphics.CGColorSpace colorSpace, bool deferred);
abstract member CreateCGImage : CoreImage.CIImage * CoreGraphics.CGRect * CoreImage.CIFormat * CoreGraphics.CGColorSpace * bool -> CoreGraphics.CGImage
override this.CreateCGImage : CoreImage.CIImage * CoreGraphics.CGRect * CoreImage.CIFormat * CoreGraphics.CGColorSpace * bool -> CoreGraphics.CGImage
Parameters
- image
- CIImage
- fromRect
- CGRect
- format
- CIFormat
- deferred
- Boolean
Returns
- Attributes