setRoundedCorners

fun setRoundedCorners(radiusPix: Float): Rect

Apply rounded corners to the rectangle

Transformation Notes:

Will be ignored when rotation is applied. Scale will not change the rounded corners size

Return

this

Parameters

radiusPix

the corners radius in pixels