class
Image

package haxe.ui.components

↪ haxe.ui.components.Image

Displays an image from either a path, resource id or raw image data.

behaviour
bindable
clonable
imageHorizontalAlign:HorizontalAlign
The horizontal alignment of the image, defaults to HorizontalAlign.CENTER. Used
when the width property of the image is larger/smaller than the width of the actual graphic.
behaviour
bindable
clonable
imageScale:Float
The value to multiply the images size by when drawing the imag eto the screen.
behaviour
bindable
clonable
imageVerticalAlign:VerticalAlign
The vertical alignment of the image, defaults to VerticalAlign.CENTER. Used
when the height property of the image is larger/smaller than the height of the actual graphic.
behaviour
bindable
clonable
originalHeight:Float
The original height of the image graphic.
behaviour
bindable
clonable
originalWidth:Float
The original width of the image graphic.
behaviour
bindable
clonable
resource:Variant
The resource from which the image is loaded. This can be:

- A path to a file
- A web address
- A resource id
- Raw image data
behaviour
bindable
clonable
scaleMode:ScaleMode
The scaling mode to use when changing the aspect ratio of this image. defaults to ScaleMode.FILL.


override
cloneComponent():Image