|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Boxed
org.gnu.gdk.Rectangle
Field Summary |
Fields inherited from class org.gnu.glib.Boxed |
handle |
Constructor Summary | |
Rectangle(Handle handle)
|
Method Summary | |
protected void |
finalize()
|
protected static void |
free(Handle obj)
|
protected static boolean |
gdk_rectangle_intersect(Handle src1,
Handle src2,
Handle dest)
|
protected static void |
gdk_rectangle_union(Handle src1,
Handle src2,
Handle dest)
|
int |
getHeight()
Retrieve the height of the Rectangle. |
protected static int |
getHeight(Handle obj)
|
int |
getWidth()
Retrieve the width of the Rectangle. |
protected static int |
getWidth(Handle obj)
|
int |
getX()
Retrieve the x coordinate for the Rectangle. |
protected static int |
getX(Handle obj)
|
int |
getY()
Retrieve the y coordinate for the Rectangle. |
protected static int |
getY(Handle obj)
|
Rectangle |
intersect(Rectangle rect)
Returns the intersection of this Rectangle and the provided Rectangle or null if there is no intersection. |
protected void |
setHeight(Handle obj,
int height)
|
void |
setHeight(int heigth)
Set the height of the Rectangle. |
protected void |
setWidth(Handle obj,
int width)
|
void |
setWidth(int width)
Set the width of the Rectangle. |
protected void |
setX(Handle obj,
int x)
|
void |
setX(int x)
Set the x coordinate for the Rectangle. |
protected void |
setY(Handle obj,
int y)
|
void |
setY(int y)
Set the y coordinate for the Rectangle. |
Rectangle |
union(Rectangle rect)
Returns the union of this Rectangle and the provided Rectangle or null if there is no union. |
Methods inherited from class org.gnu.glib.Boxed |
equals, getHandle, hashCode, setHandle |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Rectangle(Handle handle)
Method Detail |
public int getX()
public void setX(int x)
x
- public int getY()
public void setY(int y)
y
- public int getWidth()
public void setWidth(int width)
width
- public int getHeight()
public void setHeight(int heigth)
heigth
- public Rectangle intersect(Rectangle rect)
rect
- public Rectangle union(Rectangle rect)
rect
- protected void finalize() throws java.lang.Throwable
java.lang.Throwable
protected static final int getX(Handle obj)
protected final void setX(Handle obj, int x)
protected static final int getY(Handle obj)
protected final void setY(Handle obj, int y)
protected static final int getWidth(Handle obj)
protected final void setWidth(Handle obj, int width)
protected static final int getHeight(Handle obj)
protected final void setHeight(Handle obj, int height)
protected static final boolean gdk_rectangle_intersect(Handle src1, Handle src2, Handle dest)
protected static final void gdk_rectangle_union(Handle src1, Handle src2, Handle dest)
protected static final void free(Handle obj)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |