UIImage.FromImage 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
FromImage(CIImage, nfloat, UIImageOrientation) |
靜態處理站方法,用來建立 UIImage 所指定 、縮放和導向所支援的 。 |
FromImage(CGImage, nfloat, UIImageOrientation) |
靜態處理站方法,用來建立 UIImage 所指定 、縮放和導向所支援的 。 |
FromImage(CGImage) |
從[命令] 影像建立新的影像。 |
FromImage(CIImage) |
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)
[Foundation.Export("imageWithCIImage:")]
[ObjCRuntime.ThreadSafe]
public static UIKit.UIImage FromImage (CoreImage.CIImage image);
static member FromImage : CoreImage.CIImage -> UIKit.UIImage
參數
- image
- CIImage
包含要使用的[快取] 影像。
傳回
新的映射物件,如果無法建立映射,則 null
為 。
- 屬性
備註
(即將推出此節點的更多檔)
這可從背景執行緒使用。