ModifiersBuilders.Border.Builder

Added in 1.0.0
Deprecated in 1.2.0

public final class ModifiersBuilders.Border.Builder


Builder for Border

Summary

Public constructors

Public methods

@NonNull ModifiersBuilders.Border

Builds an instance from accumulated values.

@NonNull ModifiersBuilders.Border.Builder

Sets the color of the border.

@NonNull ModifiersBuilders.Border.Builder

Sets the width of the border, in DP.

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.Border build()

Builds an instance from accumulated values.

setColor

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

Sets the color of the border.

setWidth

Added in 1.0.0
Deprecated in 1.2.0
public @NonNull ModifiersBuilders.Border.Builder setWidth(@NonNull DimensionBuilders.DpProp width)

Sets the width of the border, in DP.