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);
Creates a new instance.
x Position along the X axis. The default value is 0.y Position along the Y axis. The default value is 0.Point2D(this.x, this.y);