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 Corner

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

Public functions

getBottomLeftRadius

Added in 1.2.0-alpha04
fun getBottomLeftRadius(): ModifiersBuilders.CornerRadius

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

getBottomRightRadius

Added in 1.2.0-alpha04
fun getBottomRightRadius(): ModifiersBuilders.CornerRadius

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

getRadius

Added in 1.0.0
fun getRadius(): DimensionBuilders.DpProp?

Gets the radius of the corner in DP.

getTopLeftRadius

Added in 1.2.0-alpha04
fun getTopLeftRadius(): ModifiersBuilders.CornerRadius

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

getTopRightRadius

Added in 1.2.0-alpha04
fun getTopRightRadius(): ModifiersBuilders.CornerRadius

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

toString

fun toString(): String