forked from firka/flutter
Fix x-axis direction in Offset.direction doc (flutter/engine#21208)
Specify that the positive x direction is right, as opposed to left.
This commit is contained in:
@@ -155,7 +155,7 @@ class Offset extends OffsetBase {
|
||||
|
||||
/// The angle of this offset as radians clockwise from the positive x-axis, in
|
||||
/// the range -[pi] to [pi], assuming positive values of the x-axis go to the
|
||||
/// left and positive values of the y-axis go down.
|
||||
/// right and positive values of the y-axis go down.
|
||||
///
|
||||
/// Zero means that [dy] is zero and [dx] is zero or positive.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user