共用方式為


UIImage.FromImage 方法

定義

多載

FromImage(CIImage, nfloat, UIImageOrientation)

靜態處理站方法,用來建立 UIImage 所指定 、縮放和導向所支援的 。

FromImage(CGImage, nfloat, UIImageOrientation)

靜態處理站方法,用來建立 UIImage 所指定 、縮放和導向所支援的 。

FromImage(CGImage)

從[命令] 影像建立新的影像。

FromImage(CIImage)

從核心映射 CIImage 建立 UIImage 的 Factory 方法。

FromImage(CIImage, nfloat, UIImageOrientation)

靜態處理站方法,用來建立 UIImage 所指定 、縮放和導向所支援的 。

[Foundation.Export("imageWithCIImage:scale:orientation:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.ThreadSafe]
public static UIKit.UIImage FromImage (CoreImage.CIImage ciImage, nfloat scale, UIKit.UIImageOrientation orientation);
static member FromImage : CoreImage.CIImage * nfloat * UIKit.UIImageOrientation -> UIKit.UIImage

參數

ciImage
CIImage
scale
nfloat
orientation
UIImageOrientation

傳回

屬性

備註

(即將推出此節點的更多檔)

這可從背景執行緒使用。

適用於

FromImage(CGImage, nfloat, UIImageOrientation)

靜態處理站方法,用來建立 UIImage 所指定 、縮放和導向所支援的 。

[Foundation.Export("imageWithCGImage:scale:orientation:")]
[ObjCRuntime.ThreadSafe]
public static UIKit.UIImage FromImage (CoreGraphics.CGImage image, nfloat scale, UIKit.UIImageOrientation orientation);
static member FromImage : CoreGraphics.CGImage * nfloat * UIKit.UIImageOrientation -> UIKit.UIImage

參數

image
CGImage
scale
nfloat
orientation
UIImageOrientation

傳回

屬性

備註

(即將推出此節點的更多檔)

這可從背景執行緒使用。

適用於

FromImage(CGImage)

從[命令] 影像建立新的影像。

[Foundation.Export("imageWithCGImage:")]
[ObjCRuntime.ThreadSafe]
public static UIKit.UIImage FromImage (CoreGraphics.CGImage image);
static member FromImage : CoreGraphics.CGImage -> UIKit.UIImage

參數

image
CGImage

包含要使用的[快取] 影像。

傳回

新的映射物件,如果無法建立映射,則 null 為 。

屬性

備註

這可從背景執行緒使用。

適用於

FromImage(CIImage)

從核心映射 CIImage 建立 UIImage 的 Factory 方法。

[Foundation.Export("imageWithCIImage:")]
[ObjCRuntime.ThreadSafe]
public static UIKit.UIImage FromImage (CoreImage.CIImage image);
static member FromImage : CoreImage.CIImage -> UIKit.UIImage

參數

image
CIImage

包含要使用的[快取] 影像。

傳回

新的映射物件,如果無法建立映射,則 null 為 。

屬性

備註

(即將推出此節點的更多檔)

這可從背景執行緒使用。

適用於