Este m�todo desenha uma figura, pintando seu interior com a cor definida
anteriormente.

exemplo:

      /* desenha um retangulo vermelho */
            g.setColor(new Color(255,0,0));  // cor vermelha
            g.fillRect(x, y, w, h);

fillOval
public abstract void fillOval(int x,
                              int y,
                              int width,
                              int height)
Fills an oval bounded by the specified rectangle with the current color.

Parameters:
x - the x coordinate of the upper left corner of the oval to be filled.
y - the y coordinate of the upper left corner of the oval to be filled.
width - the width of the oval to be filled.
height - the height of the oval to be filled.
See Also:
drawOval(int, int, int, int)






"alcthi" <[EMAIL PROTECTED]> on 17/10/2002 09:54:58

Please respond to [EMAIL PROTECTED]

To:    [EMAIL PROTECTED]
cc:     (bcc: Alexandre MELO/BRSAO06/Transport/ALSTOM)

Subject:    [java-list] m�todo fillOval


Algu�m pode me explicar o m�todo fillOval da classe paint?
estou com d�vida  nessa parte
g.fillOval(80,80,19,19);

Obrigado




Alex


---
UOL Elei��es 2002 - Todos os lances da disputa pol�tica
http://eleicoes.uol.com.br/


------------------------------ LISTA SOUJAVA ----------------------------
http://www.soujava.org.br  -  Sociedade de Usu�rios Java da Sucesu-SP
d�vidas mais comuns: http://www.soujava.org.br/faq.htm
regras da lista: http://www.soujava.org.br/regras.htm
historico: http://www.mail-archive.com/java-list%40soujava.org.br
para sair da lista: envie email para [EMAIL PROTECTED]
-------------------------------------------------------------------------





       CONFIDENTIALITY : This  e-mail  and  any attachments are
       confidential and may be privileged. If  you are not a named
       recipient, please notify the sender immediately and do not disclose
       the contents to another person, use it for any purpose or store or
       copy the information in any medium.




------------------------------ LISTA SOUJAVA ----------------------------
http://www.soujava.org.br  -  Sociedade de Usu�rios Java da Sucesu-SP
d�vidas mais comuns: http://www.soujava.org.br/faq.htm
regras da lista: http://www.soujava.org.br/regras.htm
historico: http://www.mail-archive.com/java-list%40soujava.org.br
para sair da lista: envie email para [EMAIL PROTECTED]
-------------------------------------------------------------------------

Responder a