org.gnu.gdk

Class Segment

public class Segment extends MemStruct

Deprecated: This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may exist in java-gnome 4.0; look out for org.gnome.gdk.Segment.

Specifies the start and end point for a line.
Constructor Summary
Segment(int x1, int y1, int x2, int y2)
Segment()
Method Summary
intgetX1()
intgetX2()
intgetY1()
intgetY2()
voidsetX1(int x1)
voidsetX2(int x1)
voidsetY1(int y1)
voidsetY2(int y1)

Constructor Detail

Segment

public Segment(int x1, int y1, int x2, int y2)

Segment

public Segment()

Method Detail

getX1

public int getX1()

getX2

public int getX2()

getY1

public int getY1()

getY2

public int getY2()

setX1

public void setX1(int x1)

setX2

public void setX2(int x1)

setY1

public void setY1(int y1)

setY2

public void setY2(int y1)