Improve documentation for arcToPoint's rotation units. (flutter/engine#30613)

This commit is contained in:
eggfly
2022-01-04 11:05:50 +08:00
committed by GitHub
parent 1e77aa8d87
commit 86bc4bd117
2 changed files with 4 additions and 4 deletions

View File

@@ -2386,7 +2386,7 @@ class Path extends NativeFieldWrapperClass1 {
double startAngle, double sweepAngle, bool forceMoveTo) native 'Path_arcTo';
/// Appends up to four conic curves weighted to describe an oval of `radius`
/// and rotated by `rotation`.
/// and rotated by `rotation` (measured in degrees and clockwise).
///
/// The first curve begins from the last point in the path and the last ends
/// at `arcEnd`. The curves follow a path in a direction determined by
@@ -2414,7 +2414,7 @@ class Path extends NativeFieldWrapperClass1 {
/// Appends up to four conic curves weighted to describe an oval of `radius`
/// and rotated by `rotation`.
/// and rotated by `rotation` (measured in degrees and clockwise).
///
/// The last path point is described by (px, py).
///

View File

@@ -654,7 +654,7 @@ class SurfacePath implements ui.Path {
}
/// Appends up to four conic curves weighted to describe an oval of `radius`
/// and rotated by `rotation`.
/// and rotated by `rotation` (measured in degrees and clockwise).
///
/// The first curve begins from the last point in the path and the last ends
/// at `arcEnd`. The curves follow a path in a direction determined by
@@ -845,7 +845,7 @@ class SurfacePath implements ui.Path {
}
/// Appends up to four conic curves weighted to describe an oval of `radius`
/// and rotated by `rotation`.
/// and rotated by `rotation` (measured in degrees and clockwise).
///
/// The last path point is described by (px, py).
///