org.gnu.gdk

Class Segment


public class Segment
extends Boxed

Specifies the start and end point for a line.

Field Summary

Fields inherited from class org.gnu.glib.Boxed

handle

Constructor Summary

Segment(Handle handle)

Method Summary

int
getX1()
protected static int
getX1(Handle obj)
int
getX2()
protected static int
getX2(Handle obj)
int
getY1()
protected static int
getY1(Handle obj)
int
getY2()
protected static int
getY2(Handle obj)
void
setX1(int x1)
protected void
setX1(Handle obj, int x1)
void
setX2(int x1)
protected void
setX2(Handle obj, int x2)
void
setY1(int y1)
protected void
setY1(Handle obj, int y1)
void
setY2(int y1)
protected void
setY2(Handle obj, int y2)

Methods inherited from class org.gnu.glib.Boxed

equals, getHandle, hashCode, setHandle

Constructor Details

Segment

public Segment(Handle handle)

Method Details

getX1

public int getX1()


getX1

protected static final int getX1(Handle obj)


getX2

public int getX2()


getX2

protected static final int getX2(Handle obj)


getY1

public int getY1()


getY1

protected static final int getY1(Handle obj)


getY2

public int getY2()


getY2

protected static final int getY2(Handle obj)


setX1

public void setX1(int x1)


setX1

protected final void setX1(Handle obj,
                           int x1)


setX2

public void setX2(int x1)


setX2

protected final void setX2(Handle obj,
                           int x2)


setY1

public void setY1(int y1)


setY1

protected final void setY1(Handle obj,
                           int y1)


setY2

public void setY2(int y1)


setY2

protected final void setY2(Handle obj,
                           int y2)