public interface

ModifiersProto.ShadowOrBuilder

 androidx.wear.protolayout.proto.ModifiersProto.ShadowOrBuilder

Subclasses:

ModifiersProto.Shadow, ModifiersProto.Shadow.Builder

Summary

Methods
public DimensionProto.DpPropgetBlurRadius()

 The blur radius of the shadow.

public ColorProto.ColorPropgetColor()

 The color used in the shadow.

public booleanhasBlurRadius()

 The blur radius of the shadow.

public booleanhasColor()

 The color used in the shadow.

Methods

public boolean hasBlurRadius()

 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.
 
.androidx.wear.protolayout.proto.DpProp blur_radius = 1;

Returns:

Whether the blurRadius field is set.

public DimensionProto.DpProp getBlurRadius()

 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.
 
.androidx.wear.protolayout.proto.DpProp blur_radius = 1;

Returns:

The blurRadius.

public boolean hasColor()

 The color used in the shadow. Defaults to Black.
 
.androidx.wear.protolayout.proto.ColorProp color = 2;

Returns:

Whether the color field is set.

public ColorProto.ColorProp getColor()

 The color used in the shadow. Defaults to Black.
 
.androidx.wear.protolayout.proto.ColorProp color = 2;

Returns:

The color.