public final class

ModifiersBuilders.Shadow

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.ModifiersBuilders.Shadow

Overview

The shadow definition. The shadow is drawn as a blur region around the element.

Summary

Methods
public static ModifiersBuilders.ShadowfromProto(ModifiersProto.Shadow proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public DimensionBuilders.DpPropgetBlurRadius()

Gets the blur radius of the shadow.

public ColorBuilders.ColorPropgetColor()

Gets the color used in the shadow.

public FingerprintgetFingerprint()

Get the fingerprint for this object, or null if unknown.

public ModifiersProto.ShadowtoProto()

Returns the internal proto instance.

public java.lang.StringtoString()

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

Methods

public DimensionBuilders.DpProp getBlurRadius()

Gets 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.

public ColorBuilders.ColorProp getColor()

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

public Fingerprint getFingerprint()

Get the fingerprint for this object, or null if unknown.

public static ModifiersBuilders.Shadow fromProto(ModifiersProto.Shadow proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public ModifiersProto.Shadow toProto()

Returns the internal proto instance.

public java.lang.String toString()