progress property

double progress

The progress from the polyline's starting point, as a ratio of its total length clamped to the range [0, 1]. Gets the progress of the polyline, 0 by default.

Implementation

double get progress;
void progress=(double value)

The progress from the polyline's starting point, as a ratio of its total length clamped to the range [0, 1]. Sets the progress of the polyline from its starting point as a ratio of its total length clamped to the range [0; 1].

As the progress varies, the equivalent part of the polyline gets covered by the progress color and progress outline color. The rest of the polyline until its end point retains the line color and outline color along with an optional dash pattern.

Implementation

set progress(double value);