Point2D constructor - Point2D - core library - Dart API
Point2D
Point2D constructor
- double x,
- double y
Creates a new instance.
xPosition along the X axis. The default value is 0.yPosition along the Y axis. The default value is 0.
Implementation
Point2D(this.x, this.y);