com.java4less.rchart.gc
Class Rectangle

java.lang.Object
  extended by com.java4less.rchart.gc.Rectangle

public class Rectangle
extends java.lang.Object

Rectangle class


Field Summary
 int h
           
 int w
           
 int x
           
 int y
           
 
Constructor Summary
Rectangle(int x, int y, int w, int h)
           
 
Method Summary
 boolean contains(int x1, int y1)
           
 boolean intersects(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

w

public int w

h

public int h
Constructor Detail

Rectangle

public Rectangle(int x,
                 int y,
                 int w,
                 int h)
Method Detail

contains

public boolean contains(int x1,
                        int y1)

intersects

public boolean intersects(Rectangle r)