UISprite::setWidth()
Sets the width of the sprite in pixels.
Syntax
Java
.setWidth(width)
Parameters
| Name | Data Type | Description |
|---|---|---|
| width | double | the width in pixels |
Return
void
Sets the width of the sprite in pixels.
.setWidth(width)
| Name | Data Type | Description |
|---|---|---|
| width | double | the width in pixels |
void