| Name | Type | Default | Description |
|---|---|---|---|
x |
number | 0 | optional x coord of the bitmap |
y |
number | 0 | optional y coord of the bitmap |
w |
number | 0 | optional w coord of the bitmap |
h |
number | 0 | optional h coord of the bitmap |
Properties:
| Name | Type | Description |
|---|---|---|
x |
number | x coord of the bitmap |
y |
number | y coord of the bitmap |
w |
number | w coord of the bitmap |
h |
number | h coord of the bitmap |
Methods
-
Set the x value
Name Type Default Description xnumber The x value minboolean false optional If checked, transform screen value with min x y -
Set the y value
Name Type Default Description ynumber The y value minboolean false optional If checked, transform screen value with min x y -
Set the w value
Name Type Default Description wnumber The w value minboolean false optional If checked, transform screen value with min x y -
Set the h value
Name Type Default Description hnumber The h value minboolean false optional If checked, transform screen value with min x y -
Set the position to the left
-
Set the position to the top
-
Set the position to the right
-
Set the position to the bot
-
Set all the coords values
Name Type Description xnumber The x value ynumber The y value wnumber The w value hnumber The h value