LayoutElementBuilders.ArcSpacer.Builder

Added in 1.0.0
Deprecated in 1.2.0

class LayoutElementBuilders.ArcSpacer.Builder : LayoutElementBuilders.ArcLayoutElement.Builder


Builder for ArcSpacer.

Summary

Public constructors

Public functions

LayoutElementBuilders.ArcSpacer

Builds an instance with values accumulated in this Builder.

LayoutElementBuilders.ArcSpacer.Builder

Sets the length of this spacer, in degrees.

LayoutElementBuilders.ArcSpacer.Builder

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

LayoutElementBuilders.ArcSpacer.Builder

Sets the thickness of this spacer, in DP.

Public constructors

Builder

Added in 1.0.0
Deprecated in 1.2.0
Builder()

Public functions

build

Added in 1.5.0-alpha04
Deprecated in 1.5.0-alpha04
fun build(): LayoutElementBuilders.ArcSpacer

Builds an instance with values accumulated in this Builder.

setLength

Added in 1.0.0
Deprecated in 1.2.0
fun setLength(length: DimensionBuilders.DegreesProp): LayoutElementBuilders.ArcSpacer.Builder

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

setThickness

Added in 1.0.0
Deprecated in 1.2.0
fun setThickness(thickness: DimensionBuilders.DpProp): LayoutElementBuilders.ArcSpacer.Builder

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