public final class

ModifiersProto.Shadow

extends <any>

implements ModifiersProto.ShadowOrBuilder

 java.lang.Object

↳<any>

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

Overview

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

Summary

Fields
public static final intBLUR_RADIUS_FIELD_NUMBER

public static final intCOLOR_FIELD_NUMBER

Methods
protected final java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public DimensionProto.DpPropgetBlurRadius()

 The blur radius of the shadow.

public ColorProto.ColorPropgetColor()

 The color used in the shadow.

public static ModifiersProto.ShadowgetDefaultInstance()

public booleanhasBlurRadius()

 The blur radius of the shadow.

public booleanhasColor()

 The color used in the shadow.

public static ModifiersProto.Shadow.BuildernewBuilder()

public static ModifiersProto.Shadow.BuildernewBuilder(ModifiersProto.Shadow prototype)

public static ModifiersProto.ShadowparseDelimitedFrom(java.io.InputStream input)

public static ModifiersProto.ShadowparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ModifiersProto.ShadowparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ModifiersProto.ShadowparseFrom(java.nio.ByteBuffer data)

public static ModifiersProto.ShadowparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ModifiersProto.ShadowparseFrom(com.google.protobuf.ByteString data)

public static ModifiersProto.ShadowparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ModifiersProto.ShadowparseFrom(com.google.protobuf.CodedInputStream input)

public static ModifiersProto.ShadowparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ModifiersProto.ShadowparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static <any>parser()

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

Fields

public static final int BLUR_RADIUS_FIELD_NUMBER

public static final int COLOR_FIELD_NUMBER

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;

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;

public static ModifiersProto.Shadow parseFrom(java.nio.ByteBuffer data)

public static ModifiersProto.Shadow parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ModifiersProto.Shadow parseFrom(com.google.protobuf.ByteString data)

public static ModifiersProto.Shadow parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ModifiersProto.Shadow parseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ModifiersProto.Shadow parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ModifiersProto.Shadow parseDelimitedFrom(java.io.InputStream input)

public static ModifiersProto.Shadow parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ModifiersProto.Shadow parseFrom(com.google.protobuf.CodedInputStream input)

public static ModifiersProto.Shadow parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ModifiersProto.Shadow.Builder newBuilder()

public static ModifiersProto.Shadow.Builder newBuilder(ModifiersProto.Shadow prototype)

protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static ModifiersProto.Shadow getDefaultInstance()

public static <any> parser()