final class CartesianPoint extends java.lang.Object implements Colored, Point
Modifier and Type | Field and Description |
---|---|
private java.awt.Color |
color |
private double |
x |
private double |
y |
Constructor and Description |
---|
CartesianPoint(double x,
double y,
java.awt.Color color) |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getColor() |
double |
getX() |
double |
getY() |
private final double x
private final double y
private final java.awt.Color color
public CartesianPoint(double x, double y, java.awt.Color color)