PlainBackground

Constructors

Link copied to clipboard
constructor(color: Color)

Properties

Link copied to clipboard
open override var color: Color
Link copied to clipboard
open override val colorProperty: ColorProperty

Functions

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

Draw the background of an area.

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun withColor(color: Color): PlainBackground

Returns a new instance of ColoredBackground with a different color. Other attributes of the border will be copied. e.g. For a RoundedBackground, the radius will be the same.