NinePatch

fun NinePatch(texture: Texture, left: Int, right: Int, top: Int, bottom: Int)


fun NinePatch(slice: TextureSlice, left: Int, right: Int, top: Int, bottom: Int)

Parameters

slice

the slice to convert into a nine patch

left

amount of pixels from the left edge

right

amount of pixels from the right edge

top

amount of pixels from the top edge

bottom

amount of pixels from the bottom edge