ModifiersBuilders.Background
public final class ModifiersBuilders.Background
A modifier to apply a background to an element.
Summary
Nested types |
|---|
public final class ModifiersBuilders.Background.BuilderBuilder for |
Public methods |
|
|---|---|
@Nullable ColorBuilders.ColorProp |
Gets the background color for this element. |
@Nullable ModifiersBuilders.Corner |
Gets the corner properties of this element. |
Public methods
public @Nullable ColorBuilders.ColorPropgetColor()
Gets the background color for this element. If not defined, defaults to being transparent. Intended for testing purposes only.
public @Nullable ModifiersBuilders.CornergetCorner()
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.