org.gnu.gdk

Class Point


public class Point
extends Boxed

Represents a point with x and y coordinates.

Field Summary

Fields inherited from class org.gnu.glib.Boxed

handle

Constructor Summary

Point(int x, int y)
Construct a Point providing the x and y coordinates.
Point(Handle handle)

Method Summary

protected void
finalize()
protected static void
gdk_point_free(Handle handle)
protected static Handle
gdk_point_new()
int
getX()
Retrieve the x coordinate for the Point.
protected static int
getX(Handle obj)
int
getY()
Retrieve the y coordinate for the Point.
protected static int
getY(Handle obj)
void
setX(int x)
Set the x coordinate for the Point.
protected void
setX(Handle obj, int x)
void
setY(int y)
Set the y coordinate for the Point.
protected void
setY(Handle obj, int y)

Methods inherited from class org.gnu.glib.Boxed

equals, getHandle, hashCode, setHandle

Constructor Details

Point

public Point(int x,
             int y)
Construct a Point providing the x and y coordinates.

Parameters:
x -
y -


Point

public Point(Handle handle)

Method Details

finalize

protected void finalize()
            throws Throwable


gdk_point_free

protected static final void gdk_point_free(Handle handle)


gdk_point_new

protected static final Handle gdk_point_new()


getX

public int getX()
Retrieve the x coordinate for the Point.


getX

protected static final int getX(Handle obj)


getY

public int getY()
Retrieve the y coordinate for the Point.


getY

protected static final int getY(Handle obj)


setX

public void setX(int x)
Set the x coordinate for the Point.

Parameters:
x -


setX

protected final void setX(Handle obj,
                          int x)


setY

public void setY(int y)
Set the y coordinate for the Point.

Parameters:
y -


setY

protected final void setY(Handle obj,
                          int y)