setCornersRadiiPx

abstract fun setCornersRadiiPx(topLeft: Float, topRight: Float, bottomLeft: Float, bottomRight: Float)

Instruct the view to use the given radii for its corners.

Parameters

topLeft

top-left corner radius in px

topRight

top-right corner radius in px

bottomLeft

bottom-left corner radius in px

bottomRight

bottom-right corner radius in px