NinePatchBorder

class NinePatchBorder(val ninePatch: NinePatch) : Border

A Border which uses a NinePatch.

Note, the size of the border passed into draw is ignored.

Constructors

Link copied to clipboard
constructor(ninePatch: NinePatch)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun draw(x: Float, y: Float, width: Float, height: Float, color: Color, size: Edges)

Draw a border inside the rectangle defined by x,y, width and height. The thickness of the border is given by size.