public enum

LayoutElementProto.StrokeCap

extends java.lang.Enum<LayoutElementProto.StrokeCap>

 java.lang.Object

↳java.lang.Enum<LayoutElementProto.StrokeCap>

↳androidx.wear.protolayout.proto.LayoutElementProto.StrokeCap

Overview

 Styles to use for path endings
 
Protobuf enum androidx.wear.protolayout.proto.StrokeCap

Summary

Enum Constants
STROKE_CAP_BUTT
 Begin and end contours with a flat edge and no extension.
STROKE_CAP_ROUND
 Begin and end contours with a semi-circle extension.
STROKE_CAP_SQUARE
 Begin and end contours with a half square extension.
STROKE_CAP_UNDEFINED
 StrokeCap is undefined.
UNRECOGNIZED
Fields
public static final intSTROKE_CAP_BUTT_VALUE

 Begin and end contours with a flat edge and no extension.

public static final intSTROKE_CAP_ROUND_VALUE

 Begin and end contours with a semi-circle extension.

public static final intSTROKE_CAP_SQUARE_VALUE

 Begin and end contours with a half square extension.

public static final intSTROKE_CAP_UNDEFINED_VALUE

 StrokeCap is undefined.

Methods
public static LayoutElementProto.StrokeCapforNumber(int value)

public final intgetNumber()

public static <any>internalGetValueMap()

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

public static LayoutElementProto.StrokeCapvalueOf(int value)

public static LayoutElementProto.StrokeCapvalueOf(java.lang.String name)

public static LayoutElementProto.StrokeCapvalues()

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

STROKE_CAP_UNDEFINED

 StrokeCap is undefined.
 
STROKE_CAP_UNDEFINED = 0;

STROKE_CAP_BUTT

 Begin and end contours with a flat edge and no extension.
 
STROKE_CAP_BUTT = 1;

STROKE_CAP_ROUND

 Begin and end contours with a semi-circle extension. The extension size is
 proportional to the thickness of the path.
 
STROKE_CAP_ROUND = 2;

STROKE_CAP_SQUARE

 Begin and end contours with a half square extension. The extension size is
 proportional to the thickness of the path.
 
STROKE_CAP_SQUARE = 3;

UNRECOGNIZED

Fields

public static final int STROKE_CAP_UNDEFINED_VALUE

 StrokeCap is undefined.
 
STROKE_CAP_UNDEFINED = 0;

public static final int STROKE_CAP_BUTT_VALUE

 Begin and end contours with a flat edge and no extension.
 
STROKE_CAP_BUTT = 1;

public static final int STROKE_CAP_ROUND_VALUE

 Begin and end contours with a semi-circle extension. The extension size is
 proportional to the thickness of the path.
 
STROKE_CAP_ROUND = 2;

public static final int STROKE_CAP_SQUARE_VALUE

 Begin and end contours with a half square extension. The extension size is
 proportional to the thickness of the path.
 
STROKE_CAP_SQUARE = 3;

Methods

public static LayoutElementProto.StrokeCap values()

public static LayoutElementProto.StrokeCap valueOf(java.lang.String name)

public final int getNumber()

public static LayoutElementProto.StrokeCap valueOf(int value)

Deprecated: Use LayoutElementProto.StrokeCap.forNumber(int) instead.

Parameters:

value: The number of the enum to look for.

Returns:

The enum associated with the given number.

public static LayoutElementProto.StrokeCap forNumber(int value)

public static <any> internalGetValueMap()

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