Improve documentation for arcToPoint's rotation units. (flutter/engine#30613)
This commit is contained in:
@@ -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).
|
||||
///
|
||||
|
||||
@@ -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).
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user