UISprite::changeWidth()
Changes the width of the sprite by the given number of pixels.
Syntax
Java
.changeWidth(amount)
Parameters
| Name | Data Type | Description |
|---|---|---|
| amount | double | how many pixels to add to the width |
Return
void
Changes the width of the sprite by the given number of pixels.
.changeWidth(amount)
| Name | Data Type | Description |
|---|---|---|
| amount | double | how many pixels to add to the width |
void