For the GeneralPath, there is a method named createTransformedShape. It accepts
an AffineTransform. If the provided affine is a scale, then you can "grow" or
"shrink" it.
Qinghuai
>MIME-Version: 1.0
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
>Date: Tue, 15 May 2001 07:21:55 -0500
>From: Ted Hill <[EMAIL PROTECTED]>
>Subject: [JAVA2D] Shape question
>To: [EMAIL PROTECTED]
>
>Hello,
>
>If I have a closed Polygon or GeneralPath, is there some way to 'grow' it or
'shrink' it?
>
>For example, if my GeneralPath were circular, is there some way to get both a
big circle and little circle from it, where they all share the same center
point?
>
>What if the Polygon or GeneralPath have an 'irregular' shape, how would I grow
and shrink them?
>
>Thank you,
>
>Ted Hill
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".