LayoutElementBuilders.ArcSpacer


@RequiresSchemaVersion(major = 1, minor = 0)
class LayoutElementBuilders.ArcSpacer : LayoutElementBuilders.ArcLayoutElement


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

Summary

Nested types

Builder for ArcSpacer.

Public functions

DimensionBuilders.DegreesProp?

Gets the length of this spacer, in degrees.

ModifiersBuilders.ArcModifiers?

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

DimensionBuilders.DpProp?

Gets the thickness of this spacer, in DP.

String

Public functions

getLength

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

Gets the length of this spacer, in degrees. If not defined, defaults to 0.

getThickness

Added in 1.0.0
fun getThickness(): DimensionBuilders.DpProp?

Gets the thickness of this spacer, in DP. If not defined, defaults to 0.

toString

fun toString(): String