border

fun border(color: Color = MaterialTheme.colorScheme.surface, width: Dp = 1.dp): PieChartBorderStyle(source)

Returns a PieChartBorderStyle with the provided parameters or their default values.

Parameters

color

The color of the border around the pie chart. Defaults to the surface color of the MaterialTheme.

width

The width of the border around the pie chart. Defaults to 1.dp.