org.gnu.gdk
Class Span
Represents a horizontal line of pixels starting with the pixel at coordinates
x,y and ending before x+width,y.
Span(int x, int y, int width)
|
int | getWidth() - Retrieve the width of the Span.
|
int | getX() - Retrieve the x coordinate.
|
int | getY() - Retrieve the y coordinate.
|
void | setWidth(int width) - Set the width of the Span.
|
void | setX(int x) - Set the x coordinate.
|
void | setY(int y) - Set the y coordinate.
|
Span
public Span(int x,
int y,
int width)
getWidth
public int getWidth()
Retrieve the width of the Span.
getX
public int getX()
Retrieve the x coordinate.
getY
public int getY()
Retrieve the y coordinate.
setWidth
public void setWidth(int width)
Set the width of the Span.
setX
public void setX(int x)
Set the x coordinate.
setY
public void setY(int y)
Set the y coordinate.