|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.geom.Point2D
java.awt.Point
eTextReader.DPoint
public class DPoint
A class to create points with a size attribute.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.geom.Point2D |
---|
java.awt.geom.Point2D.Double, java.awt.geom.Point2D.Float |
Field Summary | |
---|---|
private int |
size
The size of the point. |
int |
x
The x coordinate. |
int |
y
The y coordinate. |
Constructor Summary | |
---|---|
DPoint(int x,
int y,
int size)
Constructs and initializes a point at the specified (x, y) location in coordinate space with a size of size. |
Method Summary | |
---|---|
int |
getSize()
Returns the size of the point as an int. |
Methods inherited from class java.awt.Point |
---|
equals, getLocation, getX, getY, move, setLocation, setLocation, setLocation, toString, translate |
Methods inherited from class java.awt.geom.Point2D |
---|
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, hashCode, setLocation |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private int size
getSize()
public int x
public int y
Constructor Detail |
---|
public DPoint(int x, int y, int size)
x
- the x coordinatey
- the y coordinatesize
- the size of the pointMethod Detail |
---|
public int getSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |