get Base Outline
fun getBaseOutline(width: Float, height: Float, radius: Float, straightSides: Set<Side>? = null, insets: Float = 0.0f): Outline
Content copied to clipboard
Returns base outline for the specified parameters. The base outline is a rectangle with rounded corners. Some corners may not be rounded based on the contents of straightSides parameter.
Return
The base outline for the specified parameters.
Parameters
width
Width of some UI component.
height
Height of some UI component.
radius
Corner radius.
straight Sides
Contains all sides which are straight.