Adds documentation for PathMetric.length (flutter/engine#34923)

This commit is contained in:
JKris95 2022-08-04 22:52:05 +02:00 committed by GitHub
parent 4f71760639
commit 048a1cb86b

View File

@ -2895,6 +2895,10 @@ class PathMetric {
contourIndex = _measure.currentContourIndex;
/// Return the total length of the current contour.
///
/// The length may be calculated from an approximation of the geometry
/// originally added. For this reason, it is not recommended to rely on
/// this property for mathematically correct lengths of common shapes.
final double length;
/// Whether the contour is closed.