TintedNinePatchBackground

Similar to NinePatchBackground, but the source texture's pixels are multiplied by a color (usually from Region.backgroundColor). Used in two ways :

  1. Making the background semi-transparent by using only the alpha channel of the color.

  2. Using the RGB channels of the color on a greyscale nine-patch.

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 the background of an area.