|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gnu.glib.Struct
org.gnu.glib.MemStruct
org.gnu.gdk.Span
public class Span
Represents a horizontal line of pixels starting with the pixel at coordinates x,y and ending before x+width,y.
| Constructor Summary | |
|---|---|
Span(int x,
int y,
int width)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.gnu.glib.MemStruct |
|---|
getMemStructFromHandle |
| Methods inherited from class org.gnu.glib.Struct |
|---|
equals, getHandle, getNullHandle, hashCode |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Span(int x,
int y,
int width)
| 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 -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||