public enum

AlignmentProto.ArcAnchorType

extends java.lang.Enum<AlignmentProto.ArcAnchorType>

 java.lang.Object

↳java.lang.Enum<AlignmentProto.ArcAnchorType>

↳androidx.wear.protolayout.proto.AlignmentProto.ArcAnchorType

Overview

 The anchor position of an Arc's elements. This is used to specify how
 elements added to an Arc should be laid out with respect to anchor_angle.

 As an example, assume that the following diagrams are wrapped to an arc, and
 each represents an Arc element containing a single Text element. The Text
 element's anchor_angle is "0" for all cases.

 ```
 ARC_ANCHOR_START:
 -180                                0                                    180
                                     Hello World!


 ARC_ANCHOR_CENTER:
 -180                                0                                    180
                                Hello World!

 ARC_ANCHOR_END:
 -180                                0                                    180
                          Hello World!
 ```
 
Protobuf enum androidx.wear.protolayout.proto.ArcAnchorType

Summary

Enum Constants
ARC_ANCHOR_CENTER
 Anchor at the center of the elements.
ARC_ANCHOR_END
 Anchor at the end of the elements.
ARC_ANCHOR_START
 Anchor at the start of the elements.
ARC_ANCHOR_UNDEFINED
 Anchor position is undefined.
UNRECOGNIZED
Fields
public static final intARC_ANCHOR_CENTER_VALUE

 Anchor at the center of the elements.

public static final intARC_ANCHOR_END_VALUE

 Anchor at the end of the elements.

public static final intARC_ANCHOR_START_VALUE

 Anchor at the start of the elements.

public static final intARC_ANCHOR_UNDEFINED_VALUE

 Anchor position is undefined.

Methods
public static AlignmentProto.ArcAnchorTypeforNumber(int value)

public final intgetNumber()

public static <any>internalGetValueMap()

public static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()

public static AlignmentProto.ArcAnchorTypevalueOf(int value)

public static AlignmentProto.ArcAnchorTypevalueOf(java.lang.String name)

public static AlignmentProto.ArcAnchorTypevalues()

from java.lang.Enum<E>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
from java.lang.ObjectgetClass, notify, notifyAll, wait, wait, wait

Enum Constants

ARC_ANCHOR_UNDEFINED

 Anchor position is undefined.
 
ARC_ANCHOR_UNDEFINED = 0;

ARC_ANCHOR_START

 Anchor at the start of the elements. This will cause elements added to an
 arc to begin at the given anchor_angle, and sweep around to the right.
 
ARC_ANCHOR_START = 1;

ARC_ANCHOR_CENTER

 Anchor at the center of the elements. This will cause the center of the
 whole set of elements added to an arc to be pinned at the given
 anchor_angle.
 
ARC_ANCHOR_CENTER = 2;

ARC_ANCHOR_END

 Anchor at the end of the elements. This will cause the set of elements
 inside the arc to end at the specified anchor_angle, i.e. all elements
 should be to the left of anchor_angle.
 
ARC_ANCHOR_END = 3;

UNRECOGNIZED

Fields

public static final int ARC_ANCHOR_UNDEFINED_VALUE

 Anchor position is undefined.
 
ARC_ANCHOR_UNDEFINED = 0;

public static final int ARC_ANCHOR_START_VALUE

 Anchor at the start of the elements. This will cause elements added to an
 arc to begin at the given anchor_angle, and sweep around to the right.
 
ARC_ANCHOR_START = 1;

public static final int ARC_ANCHOR_CENTER_VALUE

 Anchor at the center of the elements. This will cause the center of the
 whole set of elements added to an arc to be pinned at the given
 anchor_angle.
 
ARC_ANCHOR_CENTER = 2;

public static final int ARC_ANCHOR_END_VALUE

 Anchor at the end of the elements. This will cause the set of elements
 inside the arc to end at the specified anchor_angle, i.e. all elements
 should be to the left of anchor_angle.
 
ARC_ANCHOR_END = 3;

Methods

public static AlignmentProto.ArcAnchorType values()

public static AlignmentProto.ArcAnchorType valueOf(java.lang.String name)

public final int getNumber()

public static AlignmentProto.ArcAnchorType valueOf(int value)

Deprecated: Use AlignmentProto.ArcAnchorType.forNumber(int) instead.

Parameters:

value: The number of the enum to look for.

Returns:

The enum associated with the given number.

public static AlignmentProto.ArcAnchorType forNumber(int value)

public static <any> internalGetValueMap()

public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()