LayoutElementBuilders.ArcSpacer

public final class LayoutElementBuilders.ArcSpacer implements LayoutElementBuilders.ArcLayoutElement


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

Summary

Public methods

static @NonNull LayoutElementBuilders.ArcSpacer.Builder

Returns a new Builder.

@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

builder

@NonNull
public static LayoutElementBuilders.ArcSpacer.Builder builder()

Returns a new Builder.

getLength

@Nullable
@NonNull
public DimensionBuilders.DegreesProp getLength()

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

getModifiers

@Nullable
@NonNull
public ModifiersBuilders.ArcModifiers getModifiers()

Gets androidx.wear.tiles.ModifiersBuilders.Modifiers for this element. Intended for testing purposes only.

getThickness

@Nullable
@NonNull
public DimensionBuilders.DpProp getThickness()

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