public final class

ModifiersProto.Corner

extends <any>

implements ModifiersProto.CornerOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.ModifiersProto.Corner

Overview

 The corner of a Box element.
 
Protobuf type androidx.wear.protolayout.proto.Corner

Summary

Fields
public static final intBOTTOM_LEFT_RADIUS_FIELD_NUMBER

public static final intBOTTOM_RIGHT_RADIUS_FIELD_NUMBER

public static final intRADIUS_FIELD_NUMBER

public static final intTOP_LEFT_RADIUS_FIELD_NUMBER

public static final intTOP_RIGHT_RADIUS_FIELD_NUMBER

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

public ModifiersProto.CornerRadiusgetBottomLeftRadius()

 The radius for the bottom-left corner of either circular or elliptical shapes.

public ModifiersProto.CornerRadiusgetBottomRightRadius()

 The radius for the bottom-right corner of either circular or elliptical shapes.

public static ModifiersProto.CornergetDefaultInstance()

public DimensionProto.DpPropgetRadius()

 The radius of the corner in DP.

public ModifiersProto.CornerRadiusgetTopLeftRadius()

 The radius for the top-left corner of either circular or elliptical shapes.

public ModifiersProto.CornerRadiusgetTopRightRadius()

 The radius for the top-right corner of either circular or elliptical shapes.

public booleanhasBottomLeftRadius()

 The radius for the bottom-left corner of either circular or elliptical shapes.

public booleanhasBottomRightRadius()

 The radius for the bottom-right corner of either circular or elliptical shapes.

public booleanhasRadius()

 The radius of the corner in DP.

public booleanhasTopLeftRadius()

 The radius for the top-left corner of either circular or elliptical shapes.

public booleanhasTopRightRadius()

 The radius for the top-right corner of either circular or elliptical shapes.

public static ModifiersProto.Corner.BuildernewBuilder()

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

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

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

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

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

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

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

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

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

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

public static ModifiersProto.CornerparseFrom(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 RADIUS_FIELD_NUMBER

public static final int TOP_LEFT_RADIUS_FIELD_NUMBER

public static final int TOP_RIGHT_RADIUS_FIELD_NUMBER

public static final int BOTTOM_RIGHT_RADIUS_FIELD_NUMBER

public static final int BOTTOM_LEFT_RADIUS_FIELD_NUMBER

Methods

public boolean hasRadius()

 The radius of the corner in DP.
 <p>The shape for a specific corner can be overridden by setting that corner separately.
 
.androidx.wear.protolayout.proto.DpProp radius = 1;

public DimensionProto.DpProp getRadius()

 The radius of the corner in DP.
 <p>The shape for a specific corner can be overridden by setting that corner separately.
 
.androidx.wear.protolayout.proto.DpProp radius = 1;

public boolean hasTopLeftRadius()

 The radius for the top-left corner of either circular or elliptical shapes.
 If not set, defaults to radius for both horizontal and vertical
 axes when radius is set; or defaults to zeros when radius is also not set.
 
.androidx.wear.protolayout.proto.CornerRadius top_left_radius = 2;

public ModifiersProto.CornerRadius getTopLeftRadius()

 The radius for the top-left corner of either circular or elliptical shapes.
 If not set, defaults to radius for both horizontal and vertical
 axes when radius is set; or defaults to zeros when radius is also not set.
 
.androidx.wear.protolayout.proto.CornerRadius top_left_radius = 2;

public boolean hasTopRightRadius()

 The radius for the top-right corner of either circular or elliptical shapes.
 If not set, defaults to radius for both horizontal and vertical
 axes when radius is set; or defaults to zeros when radius is also not set.
 
.androidx.wear.protolayout.proto.CornerRadius top_right_radius = 3;

public ModifiersProto.CornerRadius getTopRightRadius()

 The radius for the top-right corner of either circular or elliptical shapes.
 If not set, defaults to radius for both horizontal and vertical
 axes when radius is set; or defaults to zeros when radius is also not set.
 
.androidx.wear.protolayout.proto.CornerRadius top_right_radius = 3;

public boolean hasBottomRightRadius()

 The radius for the bottom-right corner of either circular or elliptical shapes.
 If not set, defaults to radius for both horizontal and vertical
 axes when radius is set; or defaults to zeros when radius is also not set.
 
.androidx.wear.protolayout.proto.CornerRadius bottom_right_radius = 4;

public ModifiersProto.CornerRadius getBottomRightRadius()

 The radius for the bottom-right corner of either circular or elliptical shapes.
 If not set, defaults to radius for both horizontal and vertical
 axes when radius is set; or defaults to zeros when radius is also not set.
 
.androidx.wear.protolayout.proto.CornerRadius bottom_right_radius = 4;

public boolean hasBottomLeftRadius()

 The radius for the bottom-left corner of either circular or elliptical shapes.
 If not set, defaults to radius for both horizontal and vertical
 axes when radius is set; or defaults to zeros when radius is also not set.
 
.androidx.wear.protolayout.proto.CornerRadius bottom_left_radius = 5;

public ModifiersProto.CornerRadius getBottomLeftRadius()

 The radius for the bottom-left corner of either circular or elliptical shapes.
 If not set, defaults to radius for both horizontal and vertical
 axes when radius is set; or defaults to zeros when radius is also not set.
 
.androidx.wear.protolayout.proto.CornerRadius bottom_left_radius = 5;

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

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

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

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

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

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

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

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

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

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

public static ModifiersProto.Corner.Builder newBuilder()

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

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

public static ModifiersProto.Corner getDefaultInstance()

public static <any> parser()