PathProgressIndicatorBehavior

class PathProgressIndicatorBehavior(pathMetrics: PathMetrics, val path: Path, var foreground: Paint? = null, var background: Paint? = null, var foregroundThickness: Double = 1.0, var backgroundThickness: Double = foregroundThickness, var direction: PathProgressIndicatorBehavior.Direction = Forward) : ProgressIndicatorBehavior<ProgressIndicator> (source)

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

paint to draw the progress in

background

paint 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

Constructors

Link copied to clipboard
constructor(pathMetrics: PathMetrics, path: Path, foreground: Paint? = null, background: Paint? = null, foregroundThickness: Double = 1.0, backgroundThickness: Double = foregroundThickness, direction: PathProgressIndicatorBehavior.Direction = Forward)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Indicates the direction along a Path. Forward goes with the path, while Backward goes opposite to it

Properties

Link copied to clipboard

paint to draw the path "behind" the progress line

Link copied to clipboard

of the path "behind" the progress line

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

paint to draw the progress in

Link copied to clipboard

of the path line

Link copied to clipboard
val path: Path

over which the progress will be displayed

Functions

Link copied to clipboard
open override fun install(view: ProgressIndicator)
Link copied to clipboard
open override fun render(view: ProgressIndicator, canvas: Canvas)

Inherited functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun contains(view: ProgressIndicator, point: Point): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun uninstall(view: ProgressIndicator)