PessoAll


Gostaria de entender como funciona o clipRect! (Graphics g; g.setClip(...))

Na documenta��o do J2D que encontrei, est� dizendo algo mais ou menos assim:

A clipping path identifies the portion of a Shape or Image that needs to be
rendered. When a clipping path is part of the Graphics2D context, only those
parts of a Shape or Image that lie within the path are rendered.
To add a clipping path to the Graphics2D context, you call setClip. Any
Shape
can be used to define the clipping path.
To change the clipping path, you can either use setClip to specify a new
path or
call clip to change the clipping path to the intersection of the old
clipping path
and a new Shape.



Ent�o, t�m � ver com renderiza��es, mas ...

N�o peguei o esp�rito pr�tico da coisa!


Por favor, me ajudem!



Clebert




P.S.: A documenta��o que estou utilizando, encontrei nesta URL:
http://java.sun.com/products/jdk/1.2/download-pdf-ps.html




    --------------------------- 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]
    [para sair da lista: http://www.soujava.org.br/forum/cadastrados.htm]
    ---------------------------------------------------------------------

Responder a