invoke
operator fun invoke(pathMetrics: PathMetrics, path: Path, foreground: Color? = null, background: Color? = null, foregroundThickness: Double = 1.0, backgroundThickness: Double = foregroundThickness, direction: PathProgressIndicatorBehavior.Direction = Forward): PathProgressIndicatorBehavior(source)
Creates a behavior that indicates progress by drawing a Stroke over the given Path.
Parameters
pathMetrics
used to measure the given path
path
over which the progress will be displayed
foreground
color to draw the progress in
background
color to draw the path "behind" the progress line
foregroundThickness
of the path line
backgroundThickness
of the path "behind" the progress line
direction
to draw the progress line