ModifiersBuilders.Border.Builder

public static final class ModifiersBuilders.Border.Builder
extends Object

java.lang.Object
   ↳ androidx.wear.tiles.builders.ModifiersBuilders.Border.Builder


Builder for ModifiersBuilders.Border

Summary

Public methods

ModifiersBuilders.Border build()

Builds an instance from accumulated values.

ModifiersBuilders.Border.Builder setColor(ColorBuilders.ColorProp color)

Sets the color of the border.

ModifiersBuilders.Border.Builder setColor(ColorBuilders.ColorProp.Builder colorBuilder)

Sets the color of the border.

ModifiersBuilders.Border.Builder setWidth(DimensionBuilders.DpProp.Builder widthBuilder)

Sets the width of the border, in DP.

ModifiersBuilders.Border.Builder setWidth(DimensionBuilders.DpProp width)

Sets the width of the border, in DP.

Inherited methods

Public methods

build

public ModifiersBuilders.Border build ()

Builds an instance from accumulated values.

Returns
ModifiersBuilders.Border

setColor

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

Sets the color of the border.

Parameters
color ColorBuilders.ColorProp

Returns
ModifiersBuilders.Border.Builder

setColor

public ModifiersBuilders.Border.Builder setColor (ColorBuilders.ColorProp.Builder colorBuilder)

Sets the color of the border.

Parameters
colorBuilder ColorBuilders.ColorProp.Builder

Returns
ModifiersBuilders.Border.Builder

setWidth

public ModifiersBuilders.Border.Builder setWidth (DimensionBuilders.DpProp.Builder widthBuilder)

Sets the width of the border, in DP.

Parameters
widthBuilder DimensionBuilders.DpProp.Builder

Returns
ModifiersBuilders.Border.Builder

setWidth

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

Sets the width of the border, in DP.

Parameters
width DimensionBuilders.DpProp

Returns
ModifiersBuilders.Border.Builder