setCornerRadii
fun GradientDrawable.setCornerRadii(@FloatRange(from = 0.0) topLeft: Float, @FloatRange(from = 0.0) topRight: Float, @FloatRange(from = 0.0) bottomLeft: Float, @FloatRange(from = 0.0) bottomRight: Float)
Set specifies radii for each of the 4 corners.
Since
0.5.3
Parameters
topLeft
radius of top left corner.
topRight
radius of top right corner.
bottomLeft
radius of bottom left corner.
bottomRight
radius of bottom right corner.