public interface

ModifiersProto.BorderOrBuilder

 androidx.wear.protolayout.proto.ModifiersProto.BorderOrBuilder

Subclasses:

ModifiersProto.Border, ModifiersProto.Border.Builder

Summary

Methods
public ColorProto.ColorPropgetColor()

 The color of the border.

public DimensionProto.DpPropgetWidth()

 The width of the border, in DP.

public booleanhasColor()

 The color of the border.

public booleanhasWidth()

 The width of the border, in DP.

Methods

public boolean hasWidth()

 The width of the border, in DP.
 
.androidx.wear.protolayout.proto.DpProp width = 1;

Returns:

Whether the width field is set.

public DimensionProto.DpProp getWidth()

 The width of the border, in DP.
 
.androidx.wear.protolayout.proto.DpProp width = 1;

Returns:

The width.

public boolean hasColor()

 The color of the border.

 While this field is statically accessible from 1.0, it's only bindable
 since version 1.2 and renderers supporting version 1.2 will use the dynamic
 value (if set).
 
.androidx.wear.protolayout.proto.ColorProp color = 2;

Returns:

Whether the color field is set.

public ColorProto.ColorProp getColor()

 The color of the border.

 While this field is statically accessible from 1.0, it's only bindable
 since version 1.2 and renderers supporting version 1.2 will use the dynamic
 value (if set).
 
.androidx.wear.protolayout.proto.ColorProp color = 2;

Returns:

The color.