LayoutElementBuilders.ArcLine

Added in 1.0.0
Deprecated in 1.2.0

public final class LayoutElementBuilders.ArcLine implements LayoutElementBuilders.ArcLayoutElement


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

Summary

Nested types

Builder for ArcLine.

Public methods

@Nullable ColorBuilders.ColorProp

Gets the color of this line.

@Nullable DimensionBuilders.DegreesProp

Gets the length of this line, in degrees.

@Nullable ModifiersBuilders.ArcModifiers

Gets androidx.wear.tiles.ModifiersBuilders.Modifiers for this element.

@Nullable DimensionBuilders.DpProp

Gets the thickness of this line.

Public methods

getColor

Added in 1.0.0
Deprecated in 1.2.0
public @Nullable ColorBuilders.ColorProp getColor()

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

getLength

Added in 1.0.0
Deprecated in 1.2.0
public @Nullable DimensionBuilders.DegreesProp getLength()

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

getModifiers

Added in 1.0.0
Deprecated in 1.2.0
public @Nullable ModifiersBuilders.ArcModifiers getModifiers()

Gets androidx.wear.tiles.ModifiersBuilders.Modifiers for this element. Intended for testing purposes only.

getThickness

Added in 1.0.0
Deprecated in 1.2.0
public @Nullable DimensionBuilders.DpProp getThickness()

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