LayoutElementBuilders.ArcLine

Added in 1.0.0
Deprecated in 1.2.0

class LayoutElementBuilders.ArcLine : LayoutElementBuilders.ArcLayoutElement


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

Summary

Public functions

ColorBuilders.ColorProp?

Gets the color of this line.

DimensionBuilders.DegreesProp?

Gets the length of this line, in degrees.

ModifiersBuilders.ArcModifiers?

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

DimensionBuilders.DpProp?

Gets the thickness of this line.

Public functions

getColor

Added in 1.0.0
Deprecated in 1.2.0
fun getColor(): ColorBuilders.ColorProp?

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

getLength

Added in 1.0.0
Deprecated in 1.2.0
fun getLength(): DimensionBuilders.DegreesProp?

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
fun getModifiers(): ModifiersBuilders.ArcModifiers?

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
fun getThickness(): DimensionBuilders.DpProp?

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