ModifiersBuilders.Border

public static final class ModifiersBuilders.Border
extends Object

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


A modifier to apply a border around an element.

Summary

Nested classes

class ModifiersBuilders.Border.Builder

Builder for ModifiersBuilders.Border  

Public methods

static ModifiersBuilders.Border.Builder builder()

Returns a new ModifiersBuilders.Border.Builder.

ColorBuilders.ColorProp getColor()

Gets the color of the border.

DimensionBuilders.DpProp getWidth()

Gets the width of the border, in DP.

Inherited methods

Public methods

getColor

public ColorBuilders.ColorProp getColor ()

Gets the color of the border. Intended for testing purposes only.

Returns
ColorBuilders.ColorProp

getWidth

public DimensionBuilders.DpProp getWidth ()

Gets the width of the border, in DP. Intended for testing purposes only.

Returns
DimensionBuilders.DpProp