ModifiersBuilders.Background

Added in 1.0.0
Deprecated in 1.2.0

class ModifiersBuilders.Background


A modifier to apply a background to an element.

Summary

Nested types

This class is deprecated. Deprecated in Java

Public functions

ColorBuilders.ColorProp?

This function is deprecated. Deprecated in Java

ModifiersBuilders.Corner?

This function is deprecated. Deprecated in Java

Public functions

getColor

Added in 1.0.0
Deprecated in 1.2.0
fun getColor(): ColorBuilders.ColorProp?

Gets the background color for this element. If not defined, defaults to being transparent. Intended for testing purposes only.

getCorner

Added in 1.0.0
Deprecated in 1.2.0
fun getCorner(): ModifiersBuilders.Corner?

Gets the corner properties of this element. This only affects the drawing of this element if it has a background color or border. If not defined, defaults to having a square corner. Intended for testing purposes only.