Compartilhar via


INImage.FromImage Método

Definição

Sobrecargas

FromImage(CGImage)

Método de fábrica estático para criar um INImage de um CGImage.

FromImage(UIImage)

Método de fábrica estático para criar um INImage de um UIImage.

FromImage(CGImage)

Método de fábrica estático para criar um INImage de um 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

Parâmetros

image
CGImage

Retornos

Atributos

Aplica-se a

FromImage(UIImage)

Método de fábrica estático para criar um INImage de um 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

Parâmetros

image
UIImage

Retornos

Atributos

Aplica-se a