Partager via


INImage.FromImage Méthode

Définition

Surcharges

FromImage(CGImage)

Méthode de fabrique statique pour créer un à INImage partir d’un CGImage.

FromImage(UIImage)

Méthode de fabrique statique pour créer un à INImage partir d’un UIImage.

FromImage(CGImage)

Méthode de fabrique statique pour créer un à INImage partir d’un 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

Paramètres

image
CGImage

Retours

Attributs

S’applique à

FromImage(UIImage)

Méthode de fabrique statique pour créer un à INImage partir d’un 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

Paramètres

image
UIImage

Retours

Attributs

S’applique à