|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFiguraPt
Retangulo
public class Retangulo
Field Summary | |
---|---|
(package private) int |
altura
|
(package private) int |
largura
|
Fields inherited from class |
---|
x, y |
Constructor Summary | |
---|---|
Retangulo(int x,
int y,
int largura,
int altura)
|
Method Summary | |
---|---|
boolean |
dentro(int x,
int y)
|
void |
desenhar(Canvas c)
|
void |
escala(double f)
|
Methods inherited from class |
---|
mover |
Methods inherited from class |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
int altura
int largura
Constructor Detail |
---|
public Retangulo(int x, int y, int largura, int altura)
Method Detail |
---|
public boolean dentro(int x, int y)
public void desenhar(Canvas c)
public void escala(double f)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |