public interface

LayoutElementProto.StrokeCapPropOrBuilder

 androidx.wear.protolayout.proto.LayoutElementProto.StrokeCapPropOrBuilder

Subclasses:

LayoutElementProto.StrokeCapProp, LayoutElementProto.StrokeCapProp.Builder

Summary

Methods
public ModifiersProto.ShadowgetShadow()

 The stroke cap's shadow.

public LayoutElementProto.StrokeCapgetValue()

 The value.

public intgetValueValue()

 The value.

public booleanhasShadow()

 The stroke cap's shadow.

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;

Returns:

Whether the shadow field is set.

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;

Returns:

The shadow.