ModifiersBuilders.Corner
@RequiresSchemaVersion(major = 1, minor = 0)
class ModifiersBuilders.Corner
The corner of a androidx.wear.protolayout.LayoutElementBuilders.Box element.
Summary
Nested types |
|---|
|
Builder for |
Public functions |
|
|---|---|
ModifiersBuilders.CornerRadius |
Gets the radius for the bottom-left corner of either circular or elliptical shapes. |
ModifiersBuilders.CornerRadius |
Gets the radius for the bottom-right corner of either circular or elliptical shapes. |
DimensionBuilders.DpProp? |
Gets the radius of the corner in DP. |
ModifiersBuilders.CornerRadius |
Gets the radius for the top-left corner of either circular or elliptical shapes. |
ModifiersBuilders.CornerRadius |
Gets the radius for the top-right corner of either circular or elliptical shapes. |
String |
toString() |
Public functions
getBottomLeftRadius
fun getBottomLeftRadius(): ModifiersBuilders.CornerRadius
Gets the radius for the bottom-left corner of either circular or elliptical shapes.
getBottomRightRadius
fun getBottomRightRadius(): ModifiersBuilders.CornerRadius
Gets the radius for the bottom-right corner of either circular or elliptical shapes.
getRadius
fun getRadius(): DimensionBuilders.DpProp?
Gets the radius of the corner in DP.
getTopLeftRadius
fun getTopLeftRadius(): ModifiersBuilders.CornerRadius
Gets the radius for the top-left corner of either circular or elliptical shapes.
getTopRightRadius
fun getTopRightRadius(): ModifiersBuilders.CornerRadius
Gets the radius for the top-right corner of either circular or elliptical shapes.