INImage.FromImage 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
FromImage(CGImage) | |
FromImage(UIImage) |
FromImage(CGImage)
[Foundation.Export("imageWithCGImage:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Intents.INImage FromImage (CoreGraphics.CGImage image);
static member FromImage : CoreGraphics.CGImage -> Intents.INImage
參數
- image
- CGImage
傳回
- 屬性
適用於
FromImage(UIImage)
[Foundation.Export("imageWithUIImage:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Intents.INImage FromImage (UIKit.UIImage image);
static member FromImage : UIKit.UIImage -> Intents.INImage
參數
- image
- UIImage
傳回
- 屬性