Choose this component to create a new image in your user interface.
Drag & drop this component in the graphical user interface or in the hierarchy tree.
General:
Name |
Description |
Width |
width of the component |
Height |
height of the component |
X |
left position of the component |
Y |
top position of the component |
Source |
drag&drop a still image from the media list in this field |
Alpha |
background opacity of the image |
Radius |
radius of the corner’s image |
Enable drag |
enable the possibilty to drag&drop this image on something else. Use this with the user data field |
Enable click |
enable to trigger an event on a click |
Click through alpha |
click only valid if alpha of the image on this pixel is superior to zero |
Rotation |
rotation of the component |
Preserve aspect |
preserve the aspect ratio of the image |
Opacity |
opacity of the component. Affect child components |
user data |
custom field you can use to read/save user data |
lock position |
if checked prevent accidental move of the component |
Actions:
Event name |
Description |
onClicked |
this event is triggered when the user click on this component |
onPressed |
this event is triggered when the user press the mouse/touch on this component |
onReleased |
this event is triggered when the user release the mouse/touch on this component |
onHover |
this event is triggered when the mouse is hover on this component |
onOut |
this event is triggered when the mouse go out of this component |
Feedbacks:
setX |
bind a parameter to set the left position of this component |
setY |
bind a parameter to set the top position of this component |
setWidth |
bind a parameter to set the width of this component |
setHeight |
bind a parameter to set the height of this component |
setOpacity |
bind a parameter to set the opacity of this component |
setRotation |
bind a parameter to set the rotation of this component |