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, size: Edges)

Draw just the border, not the area within it. However, if implementations wish to draw the inside area too, that's ok.