public interface

LayoutElementProto.ArcSpacerOrBuilder

 androidx.wear.protolayout.proto.LayoutElementProto.ArcSpacerOrBuilder

Subclasses:

LayoutElementProto.ArcSpacer, LayoutElementProto.ArcSpacer.Builder

Summary

Methods
public DimensionProto.ArcSpacerLengthgetAngularLength()

 The length of this spacer.

public DimensionProto.DegreesPropgetLength()

 The length of this spacer, in degrees.

public ModifiersProto.ArcModifiersgetModifiers()

 Modifiers for this element.

public DimensionProto.DpPropgetThickness()

 The thickness of this spacer, in DP.

public booleanhasAngularLength()

 The length of this spacer.

public booleanhasLength()

 The length of this spacer, in degrees.

public booleanhasModifiers()

 Modifiers for this element.

public booleanhasThickness()

 The thickness of this spacer, in DP.

Methods

public boolean hasLength()

 The length of this spacer, in degrees. If not defined, defaults to 0.
 
.androidx.wear.protolayout.proto.DegreesProp length = 1;

Returns:

Whether the length field is set.

public DimensionProto.DegreesProp getLength()

 The length of this spacer, in degrees. If not defined, defaults to 0.
 
.androidx.wear.protolayout.proto.DegreesProp length = 1;

Returns:

The length.

public boolean hasThickness()

 The thickness of this spacer, in DP. If not defined, defaults to 0.
 
.androidx.wear.protolayout.proto.DpProp thickness = 2;

Returns:

Whether the thickness field is set.

public DimensionProto.DpProp getThickness()

 The thickness of this spacer, in DP. If not defined, defaults to 0.
 
.androidx.wear.protolayout.proto.DpProp thickness = 2;

Returns:

The thickness.

public boolean hasModifiers()

 Modifiers for this element.
 
.androidx.wear.protolayout.proto.ArcModifiers modifiers = 3;

Returns:

Whether the modifiers field is set.

public ModifiersProto.ArcModifiers getModifiers()

 Modifiers for this element.
 
.androidx.wear.protolayout.proto.ArcModifiers modifiers = 3;

Returns:

The modifiers.

public boolean hasAngularLength()

 The length of this spacer. If not defined, defaults to 0 degrees.
 
.androidx.wear.protolayout.proto.ArcSpacerLength angular_length = 4;

Returns:

Whether the angularLength field is set.

public DimensionProto.ArcSpacerLength getAngularLength()

 The length of this spacer. If not defined, defaults to 0 degrees.
 
.androidx.wear.protolayout.proto.ArcSpacerLength angular_length = 4;

Returns:

The angularLength.