ModifiersBuilders.Background.Builder
public final class ModifiersBuilders.Background.Builder
Builder for Background
Summary
Public constructors |
|---|
|
Public methods |
|
|---|---|
@NonNull ModifiersBuilders.Background |
Builds an instance from accumulated values. |
@NonNull ModifiersBuilders.Background.Builder |
Sets the background color for this element. |
@NonNull ModifiersBuilders.Background.Builder |
Sets the corner properties of this element. |
Public methods
public @NonNull ModifiersBuilders.Background.BuildersetColor(@NonNull ColorBuilders.ColorProp color)
Sets the background color for this element. If not defined, defaults to being transparent.
public @NonNull ModifiersBuilders.Background.BuildersetCorner(@NonNull ModifiersBuilders.Corner corner)
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.