public final class

LayoutElementBuilders.ArcSpacer

extends java.lang.Object

implements LayoutElementBuilders.ArcLayoutElement

 java.lang.Object

↳androidx.wear.protolayout.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, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public FingerprintgetFingerprint()

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()

public java.lang.StringtoString()

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

Methods

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

public DimensionBuilders.DpProp getThickness()

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

public ModifiersBuilders.ArcModifiers getModifiers()

Gets ModifiersBuilders.Modifiers for this element.

public Fingerprint getFingerprint()

Creates a new wrapper instance from the proto.

public LayoutElementProto.ArcLayoutElement toArcLayoutElementProto()

public java.lang.String toString()