ModifiersBuilders.Background.Builder

Added in 1.0.0
Deprecated in 1.2.0

public final class ModifiersBuilders.Background.Builder


Builder for Background

Summary

Public constructors

This method is deprecated. Deprecated in Java

Public methods

@NonNull ModifiersBuilders.Background

This method is deprecated. Deprecated in Java

@NonNull ModifiersBuilders.Background.Builder

This method is deprecated. Deprecated in Java

@NonNull ModifiersBuilders.Background.Builder

This method is deprecated. Deprecated in Java

Public constructors

Builder

Added in 1.0.0
Deprecated in 1.2.0
public Builder()

Public methods

build

Added in 1.0.0
Deprecated in 1.2.0
public @NonNull ModifiersBuilders.Background build()

Builds an instance from accumulated values.

setColor

Added in 1.0.0
Deprecated in 1.2.0
public @NonNull ModifiersBuilders.Background.Builder setColor(@NonNull ColorBuilders.ColorProp color)

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
public @NonNull ModifiersBuilders.Background.Builder setCorner(@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.