org.gnu.gdk
Class Segment
java.lang.Object
org.gnu.glib.Struct
org.gnu.glib.MemStruct
org.gnu.gdk.Segment
public class Segment
- extends MemStruct
Specifies the start and end point for a line.
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 |
Segment
public Segment(int x1,
int y1,
int x2,
int y2)
Segment
public Segment()
getX1
public int getX1()
setX1
public void setX1(int x1)
getY1
public int getY1()
setY1
public void setY1(int y1)
getX2
public int getX2()
setX2
public void setX2(int x1)
getY2
public int getY2()
setY2
public void setY2(int y1)