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 x
number The x value min
boolean false optional If checked, transform screen value with min x y -
Set the y value
Name Type Default Description y
number The y value min
boolean false optional If checked, transform screen value with min x y -
Set the w value
Name Type Default Description w
number The w value min
boolean false optional If checked, transform screen value with min x y -
Set the h value
Name Type Default Description h
number The h value min
boolean 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 x
number The x value y
number The y value w
number The w value h
number The h value