LayoutElementBuilders.ArcSpacer

Added in 1.0.0
Deprecated in 1.2.0

class LayoutElementBuilders.ArcSpacer : LayoutElementBuilders.ArcLayoutElement


A simple spacer used to provide padding between adjacent elements in an Arc.

Summary

Public functions

DimensionBuilders.DegreesProp?

Gets the length of this spacer, in degrees.

ModifiersBuilders.ArcModifiers?

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

DimensionBuilders.DpProp?

Gets the thickness of this spacer, in DP.

Public functions

getLength

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

Gets the length of this spacer, 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 spacer, in DP. If not defined, defaults to 0. Intended for testing purposes only.