draw Pie
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
start Angle
: StartAngle for the slice, from where to start draw
arc Progress
: Process of slice
size
: Size of the chart
stroke Width
: StrokeWidth for the pie chart
padding
: Padding from top left
is Donut
: DonutPieChart or PieChart to indicate
is Active
: DonutPieChart zoom slice if IsActive