|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--DrawObj | +--DrawPolygon
Extends Abstract class DrawObj, used for drawing triangle
Constructor Summary | |
DrawPolygon(java.awt.Point p1,
java.awt.Point p2,
java.awt.Point p3,
boolean state,
java.awt.Color col)
call constructor of the parent class DrawObj |
Method Summary | |
void |
drawShape(java.awt.Graphics g)
|
Methods inherited from class DrawObj |
getColor |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public DrawPolygon(java.awt.Point p1, java.awt.Point p2, java.awt.Point p3, boolean state, java.awt.Color col)
x
- and y coordinates, filled or not, colorMethod Detail |
public void drawShape(java.awt.Graphics g)
Graphics
- class
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |