RoundedBackground
class RoundedBackground(color: Color, val radius: Float, val side: Side? = null) : ColoredBackground
Draws a rounded rectangle. If side is set, then only 1 side of the rectangle is rounded (i.e. two corners).
Functions
Link copied to clipboard
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.