getCornerRadius

abstract fun getCornerRadius(width: Float, height: Float, insets: Float, drawScope: DrawScope): Float

Returns the corner radius of a button.

Return

Corner radius of a button.

Parameters

insets

Button insets.