mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Adds documentation for PathMetric.length (flutter/engine#34923)
This commit is contained in:
parent
4f71760639
commit
048a1cb86b
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user