gnu.x11
Class Segment

java.lang.Object
  extended by gnu.x11.Segment

public class Segment
extends java.lang.Object

Line segment in geometry.


Field Summary
 int x1
           
 int x2
           
 int y1
           
 int y2
           
 
Constructor Summary
Segment(int x1, int y1, int x2, int y2)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

x1

public int x1

y1

public int y1

x2

public int x2

y2

public int y2
Constructor Detail

Segment

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object