Einhugur macOS Bridge plugin. |

# EinhuguriOSBridge.UIImage Class (iOS)

Representation of iOS UIImage object.
The object has been wrapped to make it easy to use UIImage with Xojo API’s and Einhugur API’s.
The object can be used by it self, or with UIImage coming from Declare in Xojo, or with UIImage coming from 3rd party plugin (if they can provide Integer based handle to the UIImage).
The object will be automatically released like any other Xojo object. Do not manually use the Release method unless you have done something externally to the UIImage, with other plugin or declares that might call for release.

EinhugurCoreBridge.NSObject
UIImage

class EinhuguriOSBridge.UIImage

#### Constructors

UIImage (private) | Private constructor, use the shared method creators to create instance of this class.

#### Properties

ClassName (Inherited) (desktop - console) | Returns the name of the Cocoa class under the hood as String.
Handle (Inherited) | Returns Integer handle to the native NSObject structure.
Height | Returns height of the UIImage.
Scale | Returns the scale factor of the image.
Width | Returns width of the UIImage.

#### Methods

shared Cast | Does deep cast on incoming NSObject to UIImage.
Draw | Draws the UIImage into Xojo Graphics object at given x,y location.
Draw | Draws the UIImage into Xojo Graphics object at given x,y location, taking in additionally width and height parameters.
shared FromCGImage | Creates UIImage from a given CGImage.
shared FromIntegerPtr | Constructs UIImage object from Integer handle coming from declares or 3rd party plugin.
shared FromNamedImage | Creates an image object from the specified named asset.
shared FromSystemNamedImage | Creates an image object that contains a system symbol image.
Release (Inherited) | Releases the NSObject.
Retain (Inherited) | Retains the NSObject
ToPicture | Converts the UIImage to Xojo picture object.

#### Constants

Version = 5.0 (Inherited) |

#### Supported Platforms:

- iOS

#### Unsupported Platforms:

- macOS Intel 64 bit
- macOS Apple Silicon
- Windows 32 bit
- Windows 64 bit
- Windows ARM 64 bit
- Linux 32 bit
- Linux 64 bit
- Linux ARM 32 bit
- Linux ARM 64 bit