kAWT Version 0.95

java.awt
Class Rectangle

java.lang.Object
  |
  +--java.awt.Rectangle

public class Rectangle
extends Object


Field Summary
 int height
           
 int width
           
 int x
           
 int y
           
 
Constructor Summary
Rectangle(int x, int y, int width, int height)
           
 
Method Summary
 void add(Rectangle r)
           
 boolean contains(int px, int py)
           
 boolean contains(Point p)
           
 Rectangle intersection(Rectangle r)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public int x

y

public int y

width

public int width

height

public int height
Constructor Detail

Rectangle

public Rectangle(int x,
                 int y,
                 int width,
                 int height)
Method Detail

add

public void add(Rectangle r)

contains

public boolean contains(Point p)

contains

public boolean contains(int px,
                        int py)

intersection

public Rectangle intersection(Rectangle r)

kAWT Version 0.95