Ninepatch
A ninepatch is a View subclass which displays a 9patch texture on a square.
Constructor
surface = Surface(bounds, texture, inset)
Arguments
Name | Type | Description |
---|---|---|
bounds | Bounds | The Surface’s bounds. |
inset | number | The size of the border of the surface |
An | Texture | asset with the 9patch image texture to use |
textureInset | number | The number of pixels to inset from each side in the texture image |
Returns
Nothing