public final class

ModifiersProto.Shadow.Builder

extends <any>

implements ModifiersProto.ShadowOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.ModifiersProto.Shadow.Builder

Overview

 The shadow definition. The shadow is drawn as a blur region around the
 element.
 
Protobuf type androidx.wear.protolayout.proto.Shadow

Summary

Methods
public ModifiersProto.Shadow.BuilderclearBlurRadius()

 The blur radius of the shadow.

public ModifiersProto.Shadow.BuilderclearColor()

 The color used in the shadow.

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.

public ModifiersProto.Shadow.BuildermergeBlurRadius(DimensionProto.DpProp value)

 The blur radius of the shadow.

public ModifiersProto.Shadow.BuildermergeColor(ColorProto.ColorProp value)

 The color used in the shadow.

public ModifiersProto.Shadow.BuildersetBlurRadius(DimensionProto.DpProp.Builder builderForValue)

 The blur radius of the shadow.

public ModifiersProto.Shadow.BuildersetBlurRadius(DimensionProto.DpProp value)

 The blur radius of the shadow.

public ModifiersProto.Shadow.BuildersetColor(ColorProto.ColorProp.Builder builderForValue)

 The color used in the shadow.

public ModifiersProto.Shadow.BuildersetColor(ColorProto.ColorProp value)

 The color used in the shadow.

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

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;

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;

 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;

public ModifiersProto.Shadow.Builder setBlurRadius(DimensionProto.DpProp.Builder builderForValue)

 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;

 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;

public ModifiersProto.Shadow.Builder clearBlurRadius()

 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;

public boolean hasColor()

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

public ColorProto.ColorProp getColor()

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

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

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

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

public ModifiersProto.Shadow.Builder clearColor()

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