public final class

LayoutElementProto.StrokeCapProp

extends <any>

implements LayoutElementProto.StrokeCapPropOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.LayoutElementProto.StrokeCapProp

Overview

 An extensible StrokeCap property.
 
Protobuf type androidx.wear.protolayout.proto.StrokeCapProp

Summary

Fields
public static final intSHADOW_FIELD_NUMBER

public static final intVALUE_FIELD_NUMBER

Methods
protected final java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static LayoutElementProto.StrokeCapPropgetDefaultInstance()

public ModifiersProto.ShadowgetShadow()

 The stroke cap's shadow.

public LayoutElementProto.StrokeCapgetValue()

 The value.

public intgetValueValue()

 The value.

public booleanhasShadow()

 The stroke cap's shadow.

public static LayoutElementProto.StrokeCapProp.BuildernewBuilder()

public static LayoutElementProto.StrokeCapProp.BuildernewBuilder(LayoutElementProto.StrokeCapProp prototype)

public static LayoutElementProto.StrokeCapPropparseDelimitedFrom(java.io.InputStream input)

public static LayoutElementProto.StrokeCapPropparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.StrokeCapPropparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.StrokeCapPropparseFrom(java.nio.ByteBuffer data)

public static LayoutElementProto.StrokeCapPropparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.StrokeCapPropparseFrom(com.google.protobuf.ByteString data)

public static LayoutElementProto.StrokeCapPropparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.StrokeCapPropparseFrom(com.google.protobuf.CodedInputStream input)

public static LayoutElementProto.StrokeCapPropparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.StrokeCapPropparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static <any>parser()

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

Fields

public static final int VALUE_FIELD_NUMBER

public static final int SHADOW_FIELD_NUMBER

Methods

public int getValueValue()

 The value.
 
.androidx.wear.protolayout.proto.StrokeCap value = 1;

Returns:

The enum numeric value on the wire for value.

 The value.
 
.androidx.wear.protolayout.proto.StrokeCap value = 1;

Returns:

The value.

public boolean hasShadow()

 The stroke cap's shadow. When set, the stroke cap will be drawn with a
 shadow, which allows it to be visible on top of other similarly colored
 elements.

 Only opaque colors are supported in ArcLine if a shadow is set. Any
 transparent colors will have their alpha component set to 0xFF (opaque).
 
.androidx.wear.protolayout.proto.Shadow shadow = 2;

public ModifiersProto.Shadow getShadow()

 The stroke cap's shadow. When set, the stroke cap will be drawn with a
 shadow, which allows it to be visible on top of other similarly colored
 elements.

 Only opaque colors are supported in ArcLine if a shadow is set. Any
 transparent colors will have their alpha component set to 0xFF (opaque).
 
.androidx.wear.protolayout.proto.Shadow shadow = 2;

public static LayoutElementProto.StrokeCapProp parseFrom(java.nio.ByteBuffer data)

public static LayoutElementProto.StrokeCapProp parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.StrokeCapProp parseFrom(com.google.protobuf.ByteString data)

public static LayoutElementProto.StrokeCapProp parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.StrokeCapProp parseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.StrokeCapProp parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.StrokeCapProp parseDelimitedFrom(java.io.InputStream input)

public static LayoutElementProto.StrokeCapProp parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.StrokeCapProp parseFrom(com.google.protobuf.CodedInputStream input)

public static LayoutElementProto.StrokeCapProp parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.StrokeCapProp.Builder newBuilder()

protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static LayoutElementProto.StrokeCapProp getDefaultInstance()

public static <any> parser()