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
cornerRadius
The corner radius of the Callout container.
borderWidth
The width of the outline stroke around the Callout container.
leaderSize
The DpSize for the width and height of the leader.
calloutContentPadding
Padding values used for the content inside the Callout container.
minSize
The minimum size for the Callout container.