setCornerRadius

fun setCornerRadius(cornerRadius: Float): BoxOption

Sets the corner radius.

Return

This BoxOption instance, for chaining.

Parameters

cornerRadius

Corner radius, in meters. 0 means no rounded corners (sharp box). Must be greater than or equal to 0 and not exceed half of the smallest size component.