public final class

LayoutElementBuilders.StrokeCapProp.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.LayoutElementBuilders.StrokeCapProp.Builder

Overview

Builder for LayoutElementBuilders.StrokeCapProp

Summary

Constructors
publicBuilder()

Creates an instance of LayoutElementBuilders.FontWeightProp.Builder.

Methods
public LayoutElementBuilders.StrokeCapPropbuild()

Builds an instance from accumulated values.

public LayoutElementBuilders.StrokeCapProp.BuildersetShadow(ModifiersBuilders.Shadow shadow)

Sets the stroke cap's shadow.

public LayoutElementBuilders.StrokeCapProp.BuildersetValue(int value)

Sets the value.

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

Constructors

public Builder()

Creates an instance of LayoutElementBuilders.FontWeightProp.Builder.

Methods

Sets the value.

Sets 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 LayoutElementBuilders.ArcLine if a shadow is set. Any transparent colors will have their alpha component set to 0xFF (opaque).

Builds an instance from accumulated values.