public final class

ModifiersBuilders.Shadow.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.ModifiersBuilders.Shadow.Builder

Overview

Builder for ModifiersBuilders.Shadow

Summary

Constructors
publicBuilder()

Creates an instance of ModifiersBuilders.Clickable.Builder.

Methods
public ModifiersBuilders.Shadowbuild()

Builds an instance from accumulated values.

public ModifiersBuilders.Shadow.BuildersetBlurRadius(DimensionBuilders.DpProp blurRadius)

Sets the blur radius of the shadow.

public ModifiersBuilders.Shadow.BuildersetColor(ColorBuilders.ColorProp color)

Sets the color used in the shadow.

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

Constructors

public Builder()

Creates an instance of ModifiersBuilders.Clickable.Builder.

Methods

Sets the blur radius of the shadow. It controls the size of the blur that is drawn. When set to zero, the shadow is not drawn. Defaults to zero.

Note that this field only supports static values.

Sets the color used in the shadow. Defaults to Black.

Note that this field only supports static values.

Builds an instance from accumulated values.