drawPie

fun DrawScope.drawPie(color: Color, startAngle: Float, arcProgress: Float, size: Size, strokeWidth: Float = 100.0f, padding: Float, isDonut: Boolean = false, isActive: Boolean = false, pieChartConfig: PieChartConfig)

Extension for drawing arcs

Parameters

color

: Color for slice

startAngle

: StartAngle for the slice, from where to start draw

arcProgress

: Process of slice

size

: Size of the chart

strokeWidth

: StrokeWidth for the pie chart

padding

: Padding from top left

isDonut

: DonutPieChart or PieChart to indicate

isActive

: DonutPieChart zoom slice if IsActive