public final class

ModifiersProto.Border.Builder

extends <any>

implements ModifiersProto.BorderOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.ModifiersProto.Border.Builder

Overview

 A modifier to apply a border around an element.
 
Protobuf type androidx.wear.protolayout.proto.Border

Summary

Methods
public ModifiersProto.Border.BuilderclearColor()

 The color of the border.

public ModifiersProto.Border.BuilderclearWidth()

 The width of the border, in DP.

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.

public ModifiersProto.Border.BuildermergeColor(ColorProto.ColorProp value)

 The color of the border.

public ModifiersProto.Border.BuildermergeWidth(DimensionProto.DpProp value)

 The width of the border, in DP.

public ModifiersProto.Border.BuildersetColor(ColorProto.ColorProp.Builder builderForValue)

 The color of the border.

public ModifiersProto.Border.BuildersetColor(ColorProto.ColorProp value)

 The color of the border.

public ModifiersProto.Border.BuildersetWidth(DimensionProto.DpProp.Builder builderForValue)

 The width of the border, in DP.

public ModifiersProto.Border.BuildersetWidth(DimensionProto.DpProp value)

 The width of the border, in DP.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public boolean hasWidth()

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

public DimensionProto.DpProp getWidth()

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

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

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

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

public ModifiersProto.Border.Builder clearWidth()

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

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;

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;

 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;

 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;

 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;

public ModifiersProto.Border.Builder clearColor()

 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;