Class RectInt

java.lang.Object
  extended byRectInt

public class RectInt
extends java.lang.Object

RectInt Class

This class represents a rectangle with integer coordinates


Field Summary
static int down
          Y-coordinate of the rectangle bottom
static int left
          X-coordinate of the rectangle left side
static int right
          X-coordinate of the rectangle right side
static int top
          Y-coordinate of the rectangle top
 
Constructor Summary
RectInt(int top, int left, int down, int right)
          Constructs the rectangle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

top

public static int top
Y-coordinate of the rectangle top


down

public static int down
Y-coordinate of the rectangle bottom


left

public static int left
X-coordinate of the rectangle left side


right

public static int right
X-coordinate of the rectangle right side

Constructor Detail

RectInt

public RectInt(int top,
               int left,
               int down,
               int right)
Constructs the rectangle