Bearbeiten

Freigeben über


INImage.FromImage Method

Definition

Overloads

FromImage(CGImage)

Static factory method to create an INImage from a CGImage.

FromImage(UIImage)

Static factory method to create an INImage from a UIImage.

FromImage(CGImage)

Static factory method to create an INImage from a 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

Parameters

image
CGImage

Returns

Attributes

Applies to

FromImage(UIImage)

Static factory method to create an INImage from a 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

Parameters

image
UIImage

Returns

Attributes

Applies to