cgp.runtime.newtypes
Class Line

java.lang.Object
  |
  +--cgp.runtime.newtypes.GfxObj
        |
        +--cgp.runtime.newtypes.Line

class Line
extends GfxObj


Field Summary
private  int x1
           
private  int x2
           
private  int y1
           
private  int y2
           
 
Fields inherited from class cgp.runtime.newtypes.GfxObj
color
 
Constructor Summary
(package private) Line(int x1, int y1, int x2, int y2, java.awt.Color color)
           
 
Method Summary
(package private)  void render(java.awt.Graphics g)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

x1

private int x1

y1

private int y1

x2

private int x2

y2

private int y2
Constructor Detail

Line

Line(int x1,
     int y1,
     int x2,
     int y2,
     java.awt.Color color)
Method Detail

render

void render(java.awt.Graphics g)
Overrides:
render in class GfxObj