public final class

LayoutElementBuilders.ArcLine

extends java.lang.Object

implements LayoutElementBuilders.ArcLayoutElement

 java.lang.Object

↳androidx.wear.tiles.LayoutElementBuilders.ArcLine

Overview

A line that can be used in an LayoutElementBuilders.Arc and renders as a round progress bar.

Summary

Methods
public static LayoutElementBuilders.ArcLinefromProto(LayoutElementProto.ArcLine proto)

public ColorBuilders.ColorPropgetColor()

Gets the color of this line.

public DimensionBuilders.DegreesPropgetLength()

Gets the length of this line, in degrees.

public ModifiersBuilders.ArcModifiersgetModifiers()

Gets ModifiersBuilders.Modifiers for this element.

public DimensionBuilders.DpPropgetThickness()

Gets the thickness of this line.

public LayoutElementProto.ArcLayoutElementtoArcLayoutElementProto()

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

Methods

Gets the length of this line, in degrees. If not defined, defaults to 0. Intended for testing purposes only.

public DimensionBuilders.DpProp getThickness()

Gets the thickness of this line. If not defined, defaults to 0. Intended for testing purposes only.

public ColorBuilders.ColorProp getColor()

Gets the color of this line. Intended for testing purposes only.

public ModifiersBuilders.ArcModifiers getModifiers()

Gets ModifiersBuilders.Modifiers for this element. Intended for testing purposes only.

public static LayoutElementBuilders.ArcLine fromProto(LayoutElementProto.ArcLine proto)

public LayoutElementProto.ArcLayoutElement toArcLayoutElementProto()