draw.sources
Class Point

java.lang.Object
  extended by draw.sources.Point
Direct Known Subclasses:
Pixel

public class Point
extends java.lang.Object

Point de coordonnées (x,y).
Point représenté dans ce plan :
+----------> x
|
|
|
v
y

Version:
1.0.0
Author:
COLIN Mathieu

Field Summary
protected  int x
          Abscisse du point.
protected  int y
          Ordonnée du point.
 
Constructor Summary
Point(int x, int y)
          Crée un point.
 
Method Summary
 int getX()
          Retourne l'abscisse.
 int getY()
          Retourne l'ordonnée.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

protected int x
Abscisse du point.


y

protected int y
Ordonnée du point.

Constructor Detail

Point

public Point(int x,
             int y)
Crée un point.

Parameters:
x - Abscisse.
y - Ordonnée.
Method Detail

getX

public int getX()
Retourne l'abscisse.

Returns:
Abscisse.

getY

public int getY()
Retourne l'ordonnée.

Returns:
Ordonnée.