public final class

LayoutElementProto.ArcLine.Builder

extends <any>

implements LayoutElementProto.ArcLineOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.LayoutElementProto.ArcLine.Builder

Overview

 A line that can be used in an Arc and renders as a round progress bar.
 
Protobuf type androidx.wear.protolayout.proto.ArcLine

Summary

Methods
public LayoutElementProto.ArcLine.BuilderclearAngularLength()

 The length of this line.

public LayoutElementProto.ArcLine.BuilderclearArcDirection()

 The direction in which this line is drawn.<setter> If not set, defaults to
 ARC_DIRECTION_CLOCKWISE.</setter>

public LayoutElementProto.ArcLine.BuilderclearBrush()

 A brush used to draw this line.

public LayoutElementProto.ArcLine.BuilderclearColor()

 The color of this line.

public LayoutElementProto.ArcLine.BuilderclearLength()

 The length of this line, in degrees.

public LayoutElementProto.ArcLine.BuilderclearModifiers()

 Modifiers for this element.

public LayoutElementProto.ArcLine.BuilderclearStrokeCap()

 The line stroke cap.

public LayoutElementProto.ArcLine.BuilderclearThickness()

 The thickness of this line.

public DimensionProto.ArcLineLengthgetAngularLength()

 The length of this line.

public LayoutElementProto.ArcDirectionPropgetArcDirection()

 The direction in which this line is drawn.<setter> If not set, defaults to
 ARC_DIRECTION_CLOCKWISE.</setter>

public ColorProto.BrushgetBrush()

 A brush used to draw this line.

public ColorProto.ColorPropgetColor()

 The color of this line.

public DimensionProto.DegreesPropgetLength()

 The length of this line, in degrees.

public ModifiersProto.ArcModifiersgetModifiers()

 Modifiers for this element.

public LayoutElementProto.StrokeCapPropgetStrokeCap()

 The line stroke cap.

public DimensionProto.DpPropgetThickness()

 The thickness of this line.

public booleanhasAngularLength()

 The length of this line.

public booleanhasArcDirection()

 The direction in which this line is drawn.<setter> If not set, defaults to
 ARC_DIRECTION_CLOCKWISE.</setter>

public booleanhasBrush()

 A brush used to draw this line.

public booleanhasColor()

 The color of this line.

public booleanhasLength()

 The length of this line, in degrees.

public booleanhasModifiers()

 Modifiers for this element.

public booleanhasStrokeCap()

 The line stroke cap.

public booleanhasThickness()

 The thickness of this line.

public LayoutElementProto.ArcLine.BuildermergeAngularLength(DimensionProto.ArcLineLength value)

 The length of this line.

public LayoutElementProto.ArcLine.BuildermergeArcDirection(LayoutElementProto.ArcDirectionProp value)

 The direction in which this line is drawn.<setter> If not set, defaults to
 ARC_DIRECTION_CLOCKWISE.</setter>

public LayoutElementProto.ArcLine.BuildermergeBrush(ColorProto.Brush value)

 A brush used to draw this line.

public LayoutElementProto.ArcLine.BuildermergeColor(ColorProto.ColorProp value)

 The color of this line.

public LayoutElementProto.ArcLine.BuildermergeLength(DimensionProto.DegreesProp value)

 The length of this line, in degrees.

public LayoutElementProto.ArcLine.BuildermergeModifiers(ModifiersProto.ArcModifiers value)

 Modifiers for this element.

public LayoutElementProto.ArcLine.BuildermergeStrokeCap(LayoutElementProto.StrokeCapProp value)

 The line stroke cap.

public LayoutElementProto.ArcLine.BuildermergeThickness(DimensionProto.DpProp value)

 The thickness of this line.

public LayoutElementProto.ArcLine.BuildersetAngularLength(DimensionProto.ArcLineLength.Builder builderForValue)

 The length of this line.

public LayoutElementProto.ArcLine.BuildersetAngularLength(DimensionProto.ArcLineLength value)

 The length of this line.

public LayoutElementProto.ArcLine.BuildersetArcDirection(LayoutElementProto.ArcDirectionProp.Builder builderForValue)

 The direction in which this line is drawn.<setter> If not set, defaults to
 ARC_DIRECTION_CLOCKWISE.</setter>

public LayoutElementProto.ArcLine.BuildersetArcDirection(LayoutElementProto.ArcDirectionProp value)

 The direction in which this line is drawn.<setter> If not set, defaults to
 ARC_DIRECTION_CLOCKWISE.</setter>

public LayoutElementProto.ArcLine.BuildersetBrush(ColorProto.Brush.Builder builderForValue)

 A brush used to draw this line.

public LayoutElementProto.ArcLine.BuildersetBrush(ColorProto.Brush value)

 A brush used to draw this line.

public LayoutElementProto.ArcLine.BuildersetColor(ColorProto.ColorProp.Builder builderForValue)

 The color of this line.

public LayoutElementProto.ArcLine.BuildersetColor(ColorProto.ColorProp value)

 The color of this line.

public LayoutElementProto.ArcLine.BuildersetLength(DimensionProto.DegreesProp.Builder builderForValue)

 The length of this line, in degrees.

public LayoutElementProto.ArcLine.BuildersetLength(DimensionProto.DegreesProp value)

 The length of this line, in degrees.

public LayoutElementProto.ArcLine.BuildersetModifiers(ModifiersProto.ArcModifiers.Builder builderForValue)

 Modifiers for this element.

public LayoutElementProto.ArcLine.BuildersetModifiers(ModifiersProto.ArcModifiers value)

 Modifiers for this element.

public LayoutElementProto.ArcLine.BuildersetStrokeCap(LayoutElementProto.StrokeCapProp.Builder builderForValue)

 The line stroke cap.

public LayoutElementProto.ArcLine.BuildersetStrokeCap(LayoutElementProto.StrokeCapProp value)

 The line stroke cap.

public LayoutElementProto.ArcLine.BuildersetThickness(DimensionProto.DpProp.Builder builderForValue)

 The thickness of this line.

public LayoutElementProto.ArcLine.BuildersetThickness(DimensionProto.DpProp value)

 The thickness of this line.

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

Methods

public boolean hasLength()

 The length of this line, in degrees. If not defined, defaults to 0.

 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).

 When using a dynamic value, make sure to specify the bounding constraints
 for the affected layout element through {@code
 setLayoutConstraintsForDynamicLength(AngularLayoutConstraint)} otherwise
 {@code build()} fails.
 
.androidx.wear.protolayout.proto.DegreesProp length = 1;

public DimensionProto.DegreesProp getLength()

 The length of this line, in degrees. If not defined, defaults to 0.

 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).

 When using a dynamic value, make sure to specify the bounding constraints
 for the affected layout element through {@code
 setLayoutConstraintsForDynamicLength(AngularLayoutConstraint)} otherwise
 {@code build()} fails.
 
.androidx.wear.protolayout.proto.DegreesProp length = 1;

 The length of this line, in degrees. If not defined, defaults to 0.

 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).

 When using a dynamic value, make sure to specify the bounding constraints
 for the affected layout element through {@code
 setLayoutConstraintsForDynamicLength(AngularLayoutConstraint)} otherwise
 {@code build()} fails.
 
.androidx.wear.protolayout.proto.DegreesProp length = 1;

 The length of this line, in degrees. If not defined, defaults to 0.

 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).

 When using a dynamic value, make sure to specify the bounding constraints
 for the affected layout element through {@code
 setLayoutConstraintsForDynamicLength(AngularLayoutConstraint)} otherwise
 {@code build()} fails.
 
.androidx.wear.protolayout.proto.DegreesProp length = 1;

 The length of this line, in degrees. If not defined, defaults to 0.

 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).

 When using a dynamic value, make sure to specify the bounding constraints
 for the affected layout element through {@code
 setLayoutConstraintsForDynamicLength(AngularLayoutConstraint)} otherwise
 {@code build()} fails.
 
.androidx.wear.protolayout.proto.DegreesProp length = 1;

 The length of this line, in degrees. If not defined, defaults to 0.

 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).

 When using a dynamic value, make sure to specify the bounding constraints
 for the affected layout element through {@code
 setLayoutConstraintsForDynamicLength(AngularLayoutConstraint)} otherwise
 {@code build()} fails.
 
.androidx.wear.protolayout.proto.DegreesProp length = 1;

public boolean hasThickness()

 The thickness of this line. If not defined, defaults to 0.
 
.androidx.wear.protolayout.proto.DpProp thickness = 2;

public DimensionProto.DpProp getThickness()

 The thickness of this line. If not defined, defaults to 0.
 
.androidx.wear.protolayout.proto.DpProp thickness = 2;

 The thickness of this line. If not defined, defaults to 0.
 
.androidx.wear.protolayout.proto.DpProp thickness = 2;

 The thickness of this line. If not defined, defaults to 0.
 
.androidx.wear.protolayout.proto.DpProp thickness = 2;

 The thickness of this line. If not defined, defaults to 0.
 
.androidx.wear.protolayout.proto.DpProp thickness = 2;

public LayoutElementProto.ArcLine.Builder clearThickness()

 The thickness of this line. If not defined, defaults to 0.
 
.androidx.wear.protolayout.proto.DpProp thickness = 2;

public boolean hasColor()

 The color of this line.

 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).

 If a brush is set, this color will not be used.
 
.androidx.wear.protolayout.proto.ColorProp color = 3;

public ColorProto.ColorProp getColor()

 The color of this line.

 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).

 If a brush is set, this color will not be used.
 
.androidx.wear.protolayout.proto.ColorProp color = 3;

 The color of this line.

 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).

 If a brush is set, this color will not be used.
 
.androidx.wear.protolayout.proto.ColorProp color = 3;

 The color of this line.

 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).

 If a brush is set, this color will not be used.
 
.androidx.wear.protolayout.proto.ColorProp color = 3;

 The color of this line.

 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).

 If a brush is set, this color will not be used.
 
.androidx.wear.protolayout.proto.ColorProp color = 3;

 The color of this line.

 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).

 If a brush is set, this color will not be used.
 
.androidx.wear.protolayout.proto.ColorProp color = 3;

public boolean hasBrush()

 A brush used to draw this line. If set, the brush will be used instead of
 the color provided in {@code setColor()}.
 
.androidx.wear.protolayout.proto.Brush brush = 7;

public ColorProto.Brush getBrush()

 A brush used to draw this line. If set, the brush will be used instead of
 the color provided in {@code setColor()}.
 
.androidx.wear.protolayout.proto.Brush brush = 7;

 A brush used to draw this line. If set, the brush will be used instead of
 the color provided in {@code setColor()}.
 
.androidx.wear.protolayout.proto.Brush brush = 7;

 A brush used to draw this line. If set, the brush will be used instead of
 the color provided in {@code setColor()}.
 
.androidx.wear.protolayout.proto.Brush brush = 7;

 A brush used to draw this line. If set, the brush will be used instead of
 the color provided in {@code setColor()}.
 
.androidx.wear.protolayout.proto.Brush brush = 7;

 A brush used to draw this line. If set, the brush will be used instead of
 the color provided in {@code setColor()}.
 
.androidx.wear.protolayout.proto.Brush brush = 7;

public boolean hasModifiers()

 Modifiers for this element.
 
.androidx.wear.protolayout.proto.ArcModifiers modifiers = 4;

public ModifiersProto.ArcModifiers getModifiers()

 Modifiers for this element.
 
.androidx.wear.protolayout.proto.ArcModifiers modifiers = 4;

 Modifiers for this element.
 
.androidx.wear.protolayout.proto.ArcModifiers modifiers = 4;

 Modifiers for this element.
 
.androidx.wear.protolayout.proto.ArcModifiers modifiers = 4;

 Modifiers for this element.
 
.androidx.wear.protolayout.proto.ArcModifiers modifiers = 4;

public LayoutElementProto.ArcLine.Builder clearModifiers()

 Modifiers for this element.
 
.androidx.wear.protolayout.proto.ArcModifiers modifiers = 4;

public boolean hasAngularLength()

 The length of this line. If not defined, defaults to 0 degrees.
 
.androidx.wear.protolayout.proto.ArcLineLength angular_length = 5;

public DimensionProto.ArcLineLength getAngularLength()

 The length of this line. If not defined, defaults to 0 degrees.
 
.androidx.wear.protolayout.proto.ArcLineLength angular_length = 5;

 The length of this line. If not defined, defaults to 0 degrees.
 
.androidx.wear.protolayout.proto.ArcLineLength angular_length = 5;

 The length of this line. If not defined, defaults to 0 degrees.
 
.androidx.wear.protolayout.proto.ArcLineLength angular_length = 5;

 The length of this line. If not defined, defaults to 0 degrees.
 
.androidx.wear.protolayout.proto.ArcLineLength angular_length = 5;

public LayoutElementProto.ArcLine.Builder clearAngularLength()

 The length of this line. If not defined, defaults to 0 degrees.
 
.androidx.wear.protolayout.proto.ArcLineLength angular_length = 5;

public boolean hasStrokeCap()

 The line stroke cap. If not defined, defaults to STROKE_CAP_ROUND.
 
.androidx.wear.protolayout.proto.StrokeCapProp stroke_cap = 6;

public LayoutElementProto.StrokeCapProp getStrokeCap()

 The line stroke cap. If not defined, defaults to STROKE_CAP_ROUND.
 
.androidx.wear.protolayout.proto.StrokeCapProp stroke_cap = 6;

 The line stroke cap. If not defined, defaults to STROKE_CAP_ROUND.
 
.androidx.wear.protolayout.proto.StrokeCapProp stroke_cap = 6;

 The line stroke cap. If not defined, defaults to STROKE_CAP_ROUND.
 
.androidx.wear.protolayout.proto.StrokeCapProp stroke_cap = 6;

 The line stroke cap. If not defined, defaults to STROKE_CAP_ROUND.
 
.androidx.wear.protolayout.proto.StrokeCapProp stroke_cap = 6;

public LayoutElementProto.ArcLine.Builder clearStrokeCap()

 The line stroke cap. If not defined, defaults to STROKE_CAP_ROUND.
 
.androidx.wear.protolayout.proto.StrokeCapProp stroke_cap = 6;

public boolean hasArcDirection()

 The direction in which this line is drawn.<setter> If not set, defaults to
 ARC_DIRECTION_CLOCKWISE.</setter>
 
.androidx.wear.protolayout.proto.ArcDirectionProp arc_direction = 8;

public LayoutElementProto.ArcDirectionProp getArcDirection()

 The direction in which this line is drawn.<setter> If not set, defaults to
 ARC_DIRECTION_CLOCKWISE.</setter>
 
.androidx.wear.protolayout.proto.ArcDirectionProp arc_direction = 8;

 The direction in which this line is drawn.<setter> If not set, defaults to
 ARC_DIRECTION_CLOCKWISE.</setter>
 
.androidx.wear.protolayout.proto.ArcDirectionProp arc_direction = 8;

 The direction in which this line is drawn.<setter> If not set, defaults to
 ARC_DIRECTION_CLOCKWISE.</setter>
 
.androidx.wear.protolayout.proto.ArcDirectionProp arc_direction = 8;

 The direction in which this line is drawn.<setter> If not set, defaults to
 ARC_DIRECTION_CLOCKWISE.</setter>
 
.androidx.wear.protolayout.proto.ArcDirectionProp arc_direction = 8;

public LayoutElementProto.ArcLine.Builder clearArcDirection()

 The direction in which this line is drawn.<setter> If not set, defaults to
 ARC_DIRECTION_CLOCKWISE.</setter>
 
.androidx.wear.protolayout.proto.ArcDirectionProp arc_direction = 8;