ModifiersBuilders.Background.Builder

Added in 1.0.0
Deprecated in 1.2.0

class ModifiersBuilders.Background.Builder


Builder for Background

Summary

Public constructors

Public functions

ModifiersBuilders.Background

Builds an instance from accumulated values.

ModifiersBuilders.Background.Builder

Sets the background color for this element.

ModifiersBuilders.Background.Builder

Sets the corner properties of this element.

Public constructors

Builder

Added in 1.0.0
Deprecated in 1.2.0
Builder()

Public functions

build

Added in 1.0.0
Deprecated in 1.2.0
fun build(): ModifiersBuilders.Background

Builds an instance from accumulated values.

setColor

Added in 1.0.0
Deprecated in 1.2.0
fun setColor(color: ColorBuilders.ColorProp): ModifiersBuilders.Background.Builder

Sets the background color for this element. If not defined, defaults to being transparent.

setCorner

Added in 1.0.0
Deprecated in 1.2.0
fun setCorner(corner: ModifiersBuilders.Corner): ModifiersBuilders.Background.Builder

Sets 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.