org.gnu.gdk

Class Span


public class Span
extends Boxed

Represents a horizontal line of pixels starting with the pixel at coordinates x,y and ending before x+width,y.

Field Summary

Fields inherited from class org.gnu.glib.Boxed

handle

Method Summary

int
getWidth()
Retrieve the width of the Span.
protected static int
getWidth(Handle obj)
int
getX()
Retrieve the x coordinate.
protected static int
getX(Handle obj)
int
getY()
Retrieve the y coordinate.
protected static int
getY(Handle obj)
void
setWidth(int width)
Set the width of the Span.
protected void
setWidth(Handle obj, int width)
void
setX(int x)
Set the x coordinate.
protected void
setX(Handle obj, int x)
void
setY(int y)
Set the y coordinate.
protected void
setY(Handle obj, int y)

Methods inherited from class org.gnu.glib.Boxed

equals, getHandle, hashCode, setHandle

Method Details

getWidth

public int getWidth()
Retrieve the width of the Span.


getWidth

protected static final int getWidth(Handle obj)


getX

public int getX()
Retrieve the x coordinate.


getX

protected static final int getX(Handle obj)


getY

public int getY()
Retrieve the y coordinate.


getY

protected static final int getY(Handle obj)


setWidth

public void setWidth(int width)
Set the width of the Span.

Parameters:
width -


setWidth

protected final void setWidth(Handle obj,
                              int width)


setX

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

Parameters:
x -


setX

protected final void setX(Handle obj,
                          int x)


setY

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

Parameters:
y -


setY

protected final void setY(Handle obj,
                          int y)