CornerRadius
Function
Common
inline fun CornerRadius(x: Float, y: Float = x) = CornerRadius(packFloats(x, y))
Constructs a Radius with the given x
and y
parameters for the size of the radius along the x
and y axis respectively. By default the radius along the Y axis matches that of the given x-axis
unless otherwise specified. Negative radii values are clamped to 0.