RoundedBackground

class RoundedBackground(val radius: Float, val side: Side? = null) : Background

Draws a rounded rectangle. If side is set, then only 1 side of the rectangle is rounded (i.e. two corners).

Constructors

Link copied to clipboard
constructor(radius: Float, side: Side? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val side: Side? = null

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.

Link copied to clipboard
open override fun toString(): String