ModifiersBuilders.Border.Builder

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

public Builder()

Public methods

build

@NonNull
public ModifiersBuilders.Border build()

Builds an instance from accumulated values.

setColor

@NonNull
public ModifiersBuilders.Border.Builder setColor(@NonNull ColorBuilders.ColorProp color)

Sets the color of the border.

setWidth

@NonNull
public ModifiersBuilders.Border.Builder setWidth(@NonNull DimensionBuilders.DpProp width)

Sets the width of the border, in DP.