Sprite::setNineSlice()
Set the nine-slice (also known as nine-patch) parameters for the sprite's costumes.
Syntax
Java
.setNineSlice(top, right, bottom, left)
Parameters
| Name | Data Type | Description |
|---|---|---|
| top | int | the size of the top slice in pixels |
| right | int | the size of the right slice in pixels |
| bottom | int | the size of the bottom slice in pixels |
| left | int | the size of the left slice in pixels |
Return
void
