CIContext.CreateCGImage 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
CreateCGImage(CIImage, CGRect)
從 fromRectangle
的區域 image
建立新的 CGImage 。
[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
參數
- image
- CIImage
- fromRectangle
- CGRect
傳回
- 屬性
適用於
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
參數
- image
- CIImage
- fromRect
- CGRect
- ciImageFormat
- CIFormat
- colorSpace
- CGColorSpace
傳回
適用於
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
參數
- image
- CIImage
- fromRect
- CGRect
- ciImageFormat
- Int32
傳回
- 屬性
適用於
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
參數
- image
- CIImage
- fromRect
- CGRect
- format
- CIFormat
- deferred
- Boolean
傳回
- 屬性