contoursLength property

double get contoursLength

Compute the cumulative length of a List of PathMetric objects, like the PathExtension.contours of a Path.

Implementation

double get contoursLength {
  return fold(0.0, (sum, metric) => sum + metric.length);
}