Condividi tramite


INImage.FromImage Metodo

Definizione

Overload

FromImage(CGImage)

Metodo factory statico per creare un oggetto INImage da un CGImageoggetto .

FromImage(UIImage)

Metodo factory statico per creare un oggetto INImage da un UIImageoggetto .

FromImage(CGImage)

Metodo factory statico per creare un oggetto INImage da un CGImageoggetto .

[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

Parametri

image
CGImage

Restituisce

Attributi

Si applica a

FromImage(UIImage)

Metodo factory statico per creare un oggetto INImage da un UIImageoggetto .

[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

Parametri

image
UIImage

Restituisce

Attributi

Si applica a