BasicCircularProgressIndicatorBehavior

constructor(foreground: Paint, background: Paint? = null, thickness: Double, outline: Stroke? = null, startAngle: Measure<Angle> = -90 * degrees, direction: RotationDirection = Clockwise, startCap: SegmentBuilder = { _,_ -> }, endCap: SegmentBuilder = { _,it -> lineTo(it) })(source)

Parameters

foreground

paint used to fill the progress portion

background

paint used to fill the "groove"

thickness

of the ring (including any outline)

startAngle

where the progress begins

direction

progress is drawn around the ring

startCap

drawn at the tip of the starting point on the progress ring

endCap

drawn at the tip of the ending point on the progress ring


constructor(foreground: (ProgressIndicator) -> Paint, background: (ProgressIndicator) -> Paint? = null, thickness: Double, outline: (ProgressIndicator) -> Stroke? = null, startAngle: Measure<Angle> = -90 * degrees, direction: RotationDirection = Clockwise, startCap: SegmentBuilder = { _,_ -> }, endCap: SegmentBuilder = { _,it -> lineTo(it) })(source)

Parameters

foreground

paint used to fill the progress portion

background

paint used to fill the "groove"

thickness

of the ring (including any outline)

startAngle

where the progress begins

direction

progress is drawn around the ring

startCap

drawn at the tip of the starting point on the progress ring

endCap

drawn at the tip of the ending point on the progress ring