Class PointDisplay
- java.lang.Object
-
- PointDisplay
-
public class PointDisplay extends java.lang.Object
A simple graphics class that displays an array of points.- Version:
- 1/19/2021
- Author:
- Nathan Sprague
-
-
Constructor Summary
Constructors Constructor Description PointDisplay(Point[] points)
Construct a point display with no title.PointDisplay(Point[] points, java.lang.String title)
Construct a point display.
-
-
-
Constructor Detail
-
PointDisplay
public PointDisplay(Point[] points, java.lang.String title)
Construct a point display. Once the display is instantiated it will immediately display the provided points.- Parameters:
points
- The points to displaytitle
- The window title.
-
PointDisplay
public PointDisplay(Point[] points)
Construct a point display with no title. Once the display is instantiated it will immediately display the provided points.- Parameters:
points
- The points to display
-
-