org.gnu.gdk
Class Rectangle

java.lang.Object
  |
  +--org.gnu.glib.Boxed
        |
        +--org.gnu.gdk.Rectangle
Direct Known Subclasses:
Allocation

public class Rectangle
extends Boxed


Constructor Summary
Rectangle(int handle)
           
 
Method Summary
 int getHeight()
           
 int getWidth()
           
 int getX()
           
 int getY()
           
 Rectangle intersect(Rectangle src1, Rectangle src2)
           
 void setHeight(int heigth)
           
 void setWidth(int width)
           
 void setX(int x)
           
 void setY(int y)
           
 Rectangle union(Rectangle src1, Rectangle src2)
           
 
Methods inherited from class org.gnu.glib.Boxed
equals, getHandle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rectangle

public Rectangle(int handle)
Method Detail

getX

public int getX()

setX

public void setX(int x)

getY

public int getY()

setY

public void setY(int y)

getWidth

public int getWidth()

setWidth

public void setWidth(int width)

getHeight

public int getHeight()

setHeight

public void setHeight(int heigth)

intersect

public Rectangle intersect(Rectangle src1,
                           Rectangle src2)

union

public Rectangle union(Rectangle src1,
                       Rectangle src2)

Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net