LayoutElementBuilders.ArcSpacer

Added in 1.0.0
Deprecated in 1.2.0

public final class LayoutElementBuilders.ArcSpacer implements LayoutElementBuilders.ArcLayoutElement


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

Summary

Public methods

@Nullable DimensionBuilders.DegreesProp

Gets the length of this spacer, in degrees.

@Nullable ModifiersBuilders.ArcModifiers

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

@Nullable DimensionBuilders.DpProp

Gets the thickness of this spacer, in DP.

Public methods

getLength

Added in 1.0.0
Deprecated in 1.2.0
public @Nullable DimensionBuilders.DegreesProp getLength()

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
public @Nullable ModifiersBuilders.ArcModifiers getModifiers()

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
public @Nullable DimensionBuilders.DpProp getThickness()

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