shapes
fun shapes(cornerRadius: Dp = 10.dp, borderWidth: Dp = 2.dp, leaderSize: DpSize = DpSize(width = 12.dp, height = 10.dp), calloutContentPadding: PaddingValues = PaddingValues(
all = cornerRadius + (borderWidth / 2)
), minSize: DpSize = DpSize(
width = borderWidth + (2 * cornerRadius),
height = borderWidth + (2 * cornerRadius)
)): CalloutShapes
Creates an instance of CalloutShapes with default values.
Since
200.5.0
Parameters
corner Radius
The corner radius of the Callout container.
border Width
The width of the outline stroke around the Callout container.
leader Size
The DpSize for the width and height of the leader.
callout Content Padding
Padding values used for the content inside the Callout container.
min Size
The minimum size for the Callout container.