Hugo,

May be you can use AffineTransform.createTransformedShape. However, this will
create a Shape object for each Shape and Transform combination. Depending on the
number of Shapes and transforms you have, it may or may not be a good idea.

V.

"Hugo A. Garcia" wrote:

> Hello
>
> I would like to render multiple shapes on a JPanel and apply different
> Affinetransform to each one without affecting the Graphics2D context.
>
> -H
>
> ===============================================================================
>                                 Hugo A. Garcia
>                                Object Chemistry
>                                    New York
> ===============================================================================
>
> =====================================================================
> To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
> Java 2D Home Page: http://java.sun.com/products/java-media/2D/

--
+-----------------------------------------------------------+
| Vincent Hardy                   [EMAIL PROTECTED] |
| Java Architect                       Java Solution Center |
| 650-470-2063                                   Menlo Park |
+-----------------------------------------------------------+


=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 2D Home Page: http://java.sun.com/products/java-media/2D/

Reply via email to