public enum

AlignmentProto.AngularAlignment

extends java.lang.Enum<AlignmentProto.AngularAlignment>

 java.lang.Object

↳java.lang.Enum<AlignmentProto.AngularAlignment>

↳androidx.wear.protolayout.proto.AlignmentProto.AngularAlignment

Overview

 How to lay out components in a Arc context when they are smaller than their
 container. This would be similar to HorizontalAlignment in a Box or Column.
 
Protobuf enum androidx.wear.protolayout.proto.AngularAlignment

Summary

Enum Constants
ANGULAR_ALIGNMENT_CENTER
 Align to the center of the container.
ANGULAR_ALIGNMENT_END
 Align to the end of the container.
ANGULAR_ALIGNMENT_START
 Align to the start of the container.
ANGULAR_ALIGNMENT_UNDEFINED
 Angular alignment is undefined.
UNRECOGNIZED
Fields
public static final intANGULAR_ALIGNMENT_CENTER_VALUE

 Align to the center of the container.

public static final intANGULAR_ALIGNMENT_END_VALUE

 Align to the end of the container.

public static final intANGULAR_ALIGNMENT_START_VALUE

 Align to the start of the container.

public static final intANGULAR_ALIGNMENT_UNDEFINED_VALUE

 Angular alignment is undefined.

Methods
public static AlignmentProto.AngularAlignmentforNumber(int value)

public final intgetNumber()

public static <any>internalGetValueMap()

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

public static AlignmentProto.AngularAlignmentvalueOf(int value)

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

public static AlignmentProto.AngularAlignmentvalues()

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

ANGULAR_ALIGNMENT_UNDEFINED

 Angular alignment is undefined.
 
ANGULAR_ALIGNMENT_UNDEFINED = 0;

ANGULAR_ALIGNMENT_START

 Align to the start of the container. As an example, if the container
 starts at 90 degrees and has 180 degrees of sweep, the element within
 would draw from 90 degrees, clockwise.
 
ANGULAR_ALIGNMENT_START = 1;

ANGULAR_ALIGNMENT_CENTER

 Align to the center of the container. As an example, if the container
 starts at 90 degrees, and has 180 degrees of sweep, and the contained
 element has 90 degrees of sweep, the element would draw between 135 and
 225 degrees.
 
ANGULAR_ALIGNMENT_CENTER = 2;

ANGULAR_ALIGNMENT_END

 Align to the end of the container. As an example, if the container
 starts at 90 degrees and has 180 degrees of sweep, and the contained
 element has 90 degrees of sweep, the element would draw between 180 and 270
 degrees.
 
ANGULAR_ALIGNMENT_END = 3;

UNRECOGNIZED

Fields

public static final int ANGULAR_ALIGNMENT_UNDEFINED_VALUE

 Angular alignment is undefined.
 
ANGULAR_ALIGNMENT_UNDEFINED = 0;

public static final int ANGULAR_ALIGNMENT_START_VALUE

 Align to the start of the container. As an example, if the container
 starts at 90 degrees and has 180 degrees of sweep, the element within
 would draw from 90 degrees, clockwise.
 
ANGULAR_ALIGNMENT_START = 1;

public static final int ANGULAR_ALIGNMENT_CENTER_VALUE

 Align to the center of the container. As an example, if the container
 starts at 90 degrees, and has 180 degrees of sweep, and the contained
 element has 90 degrees of sweep, the element would draw between 135 and
 225 degrees.
 
ANGULAR_ALIGNMENT_CENTER = 2;

public static final int ANGULAR_ALIGNMENT_END_VALUE

 Align to the end of the container. As an example, if the container
 starts at 90 degrees and has 180 degrees of sweep, and the contained
 element has 90 degrees of sweep, the element would draw between 180 and 270
 degrees.
 
ANGULAR_ALIGNMENT_END = 3;

Methods

public static AlignmentProto.AngularAlignment values()

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

public final int getNumber()

public static AlignmentProto.AngularAlignment valueOf(int value)

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

Parameters:

value: The number of the enum to look for.

Returns:

The enum associated with the given number.

public static AlignmentProto.AngularAlignment forNumber(int value)

public static <any> internalGetValueMap()

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