setRoundedCornerRadius

open fun setRoundedCornerRadius(cornerRadius: Int)

Set the radius of the corner angle and whether the edges are enabled

Parameters

cornerRadius

The radius of the angle of the circle. Unit px


open fun setRoundedCornerRadius(cornerRadius: Int, topLeft: Boolean, topRight: Boolean, bottomRight: Boolean, bottomLeft: Boolean)

Set the radius of the corner angle and whether the edges are enabled

Parameters

cornerRadius

The radius of the angle of the circle. Unit px

topLeft

Whether to enable top left fillet

topRight

Whether to enable top right fillet

bottomLeft

Whether to enable bottom left fillet

bottomRight

Whether to enable bottom right fillet