LayoutElementBuilders.ArcLine

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

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

@Nullable
@NonNull
public ColorBuilders.ColorProp getColor()

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

getLength

@Nullable
@NonNull
public DimensionBuilders.DegreesProp getLength()

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

getModifiers

@Nullable
@NonNull
public ModifiersBuilders.ArcModifiers getModifiers()

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

getThickness

@Nullable
@NonNull
public DimensionBuilders.DpProp getThickness()

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