Package turtle
Class Point
java.lang.Object
turtle.Point
public class Point extends Object
An immutable point in floating-point pixel space.
PS0 instructions: do NOT change this class.
-
Constructor Summary
Constructors Constructor Description Point(double x, double y)
Construct a point at the given coordinates. -
Method Summary
-
Constructor Details
-
Point
public Point(double x, double y)Construct a point at the given coordinates.- Parameters:
x
- x-coordinatey
- y-coordinate
-
-
Method Details