LayoutElementBuilders.ArcLine

public static final class LayoutElementBuilders.ArcLine
extends Object implements LayoutElementBuilders.ArcLayoutElement

java.lang.Object
   ↳ androidx.wear.tiles.LayoutElementBuilders.ArcLine


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

Summary

Nested classes

class LayoutElementBuilders.ArcLine.Builder

Builder for LayoutElementBuilders.ArcLine

Public methods

static LayoutElementBuilders.ArcLine.Builder builder()

Returns a new LayoutElementBuilders.ArcLine.Builder.

ColorBuilders.ColorProp getColor()

Gets the color of this line.

DimensionBuilders.DegreesProp getLength()

Gets the length of this line, in degrees.

ModifiersBuilders.ArcModifiers getModifiers()

Gets ModifiersBuilders.Modifiers for this element.

DimensionBuilders.DpProp getThickness()

Gets the thickness of this line.

Inherited methods

Public methods

getColor

public ColorBuilders.ColorProp getColor ()

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

Returns
ColorBuilders.ColorProp

getLength

public DimensionBuilders.DegreesProp getLength ()

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

Returns
DimensionBuilders.DegreesProp

getModifiers

public ModifiersBuilders.ArcModifiers getModifiers ()

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

Returns
ModifiersBuilders.ArcModifiers

getThickness

public DimensionBuilders.DpProp getThickness ()

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

Returns
DimensionBuilders.DpProp