A widget that displays an image. More...
Public Member Functions | |
ImageBox () | |
Constructor. | |
Protected Member Functions | |
internal override void | Render () |
Renders a scene graph. | |
Properties | |
override float | Width [get, set] |
Obtains and sets the width. | |
override float | Height [get, set] |
Obtains and sets the height. | |
ImageAsset | Image [get, set] |
Obtains and sets the image. | |
NinePatchMargin | NinePatchMargin [get, set] |
Obtains and sets the 9-patch information of the image. | |
ImageScaleType | ImageScaleType [get, set] |
Obtains and sets the scale of the image. | |
ImageRect | CropArea [get, set] |
Obtains and sets the clip area of the image. | |
BlendMode | BlendMode [get, set] |
Obtains and sets the blend mode. |
A widget that displays an image.
ImageRect CropArea [get, set] |
Obtains and sets the clip area of the image.
No clipping is performed if everything is 0. The clipped image is scaled when set at the same time as ImageScaleType.
NinePatchMargin NinePatchMargin [get, set] |
Obtains and sets the 9-patch information of the image.
Enabled only when ImageScaleType is NinePatch.