NinePatchSlices2D

Constructors

Link copied to clipboard
constructor()
constructor(x: NinePatchSlices, y: NinePatchSlices)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun getScaledPointAt(point: Point, oldSize: Size, newSize: Size): Point
Link copied to clipboard
fun transform2D(positions: List<PointArrayList>, oldSize: Size, newSize: Size): List<PointArrayList>
fun transform2D(positions: PointArrayList, oldSize: Size, newSize: Size, output: PointArrayList = PointArrayList()): PointArrayList
Link copied to clipboard
fun transform2DInplace(positions: PointArrayList, oldSize: Size, newSize: Size)