public final class

LayoutElementProto.StrokeCapProp.Builder

extends <any>

implements LayoutElementProto.StrokeCapPropOrBuilder

 java.lang.Object

↳<any>

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

Overview

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

Summary

Methods
public LayoutElementProto.StrokeCapProp.BuilderclearShadow()

 The stroke cap's shadow.

public LayoutElementProto.StrokeCapProp.BuilderclearValue()

 The value.

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 LayoutElementProto.StrokeCapProp.BuildermergeShadow(ModifiersProto.Shadow value)

 The stroke cap's shadow.

public LayoutElementProto.StrokeCapProp.BuildersetShadow(ModifiersProto.Shadow.Builder builderForValue)

 The stroke cap's shadow.

public LayoutElementProto.StrokeCapProp.BuildersetShadow(ModifiersProto.Shadow value)

 The stroke cap's shadow.

public LayoutElementProto.StrokeCapProp.BuildersetValue(LayoutElementProto.StrokeCap value)

 The value.

public LayoutElementProto.StrokeCapProp.BuildersetValueValue(int value)

 The value.

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

Methods

public int getValueValue()

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

Returns:

The enum numeric value on the wire for value.

public LayoutElementProto.StrokeCapProp.Builder setValueValue(int value)

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

Parameters:

value: The value to set.

Returns:

This builder for chaining.

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

Returns:

The value.

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

Parameters:

value: The enum numeric value on the wire for value to set.

Returns:

This builder for chaining.

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

Returns:

This builder for chaining.

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;

 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;

 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;

 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;

 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;