|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectRetangulo
public class Retangulo
A square that can be manipulated and that draws itself on a canvas.
Constructor Summary | |
---|---|
Retangulo(double x1,
double y1,
double x2,
double y2)
|
|
Retangulo(int n)
Create a new rectangles at default position with default color. |
Method Summary | |
---|---|
void |
makeInvisible()
Make this rectangles invisible. |
void |
makeVisible()
Make this rectangles visible. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Retangulo(double x1, double y1, double x2, double y2)
public Retangulo(int n)
Method Detail |
---|
public void makeInvisible()
public void makeVisible()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |