public final class

LayoutElementBuilders.ArcSpacer

extends java.lang.Object

implements LayoutElementBuilders.ArcLayoutElement

 java.lang.Object

↳androidx.wear.tiles.LayoutElementBuilders.ArcSpacer

Overview

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

Summary

Methods
public static LayoutElementBuilders.ArcSpacerfromProto(LayoutElementProto.ArcSpacer proto)

public DimensionBuilders.DegreesPropgetLength()

Gets the length of this spacer, in degrees.

public ModifiersBuilders.ArcModifiersgetModifiers()

Gets ModifiersBuilders.Modifiers for this element.

public DimensionBuilders.DpPropgetThickness()

Gets the thickness of this spacer, in DP.

public LayoutElementProto.ArcLayoutElementtoArcLayoutElementProto()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

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

public DimensionBuilders.DpProp getThickness()

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

public ModifiersBuilders.ArcModifiers getModifiers()

Gets ModifiersBuilders.Modifiers for this element. Intended for testing purposes only.

public static LayoutElementBuilders.ArcSpacer fromProto(LayoutElementProto.ArcSpacer proto)

public LayoutElementProto.ArcLayoutElement toArcLayoutElementProto()