public interface

ModifiersProto.CornerOrBuilder

 androidx.wear.protolayout.proto.ModifiersProto.CornerOrBuilder

Subclasses:

ModifiersProto.Corner, ModifiersProto.Corner.Builder

Summary

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

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;

Returns:

Whether the radius field is set.

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;

Returns:

The radius.

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;

Returns:

Whether the topLeftRadius field is set.

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;

Returns:

The topLeftRadius.

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;

Returns:

Whether the topRightRadius field is set.

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;

Returns:

The topRightRadius.

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;

Returns:

Whether the bottomRightRadius field is set.

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;

Returns:

The bottomRightRadius.

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;

Returns:

Whether the bottomLeftRadius field is set.

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;

Returns:

The bottomLeftRadius.