LayoutElementBuilders.ArcLine.Builder

Added in 1.0.0
Deprecated in 1.2.0

class LayoutElementBuilders.ArcLine.Builder : LayoutElementBuilders.ArcLayoutElement.Builder


Builder for ArcLine.

Summary

Public constructors

Public functions

LayoutElementBuilders.ArcLine

Builds an instance with values accumulated in this Builder.

LayoutElementBuilders.ArcLine.Builder

Sets the color of this line.

LayoutElementBuilders.ArcLine.Builder

Sets the length of this line, in degrees.

LayoutElementBuilders.ArcLine.Builder

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

LayoutElementBuilders.ArcLine.Builder

Sets the thickness of this line.

Public constructors

Builder

Added in 1.0.0
Deprecated in 1.2.0
Builder()

Public functions

build

Added in 1.4.0-alpha01
Deprecated in 1.4.0-alpha01
fun build(): LayoutElementBuilders.ArcLine

Builds an instance with values accumulated in this Builder.

setColor

Added in 1.0.0
Deprecated in 1.2.0
fun setColor(color: ColorBuilders.ColorProp): LayoutElementBuilders.ArcLine.Builder

Sets the color of this line.

setLength

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

Sets the length of this line, 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.ArcLine.Builder

Sets the thickness of this line. If not defined, defaults to 0.