ImageDrawable
(
imageResource
,
height
,
options
)
- Parameters:
-
imageResource <ImageResource>
The imageResource used for the ImageDrawable. -
height <float>
The height of the ImageDrawable, in SDUs. The width is set at creation time, width is calculated according to the aspect ratio of the underlying image. -
options <object>
Setup-Parameters to customize additional object properties.
Accepted options-properties are- enabled
- horizontalAnchor
- verticalAnchor
- offsetX
- offsetY
- zOrder
- rotation
- scale
- opacity
- onClick
- roll
- tilt
- heading