Title: How to create a new class implementing Shape interface?

Hi,
        my problem is to extends the set of Classes implementing Shape
interface, so I can use a Point with "Text shape". Anyone have tried
to do something like this ?

class MyTextShape implements Shape {
        //
        // how can be implemented ?
        // is there any useful example for implementing new Shape classes ?
        //
}

Thank you.

Any suggestions are welcome.

                                                                        Giacomo Fiorentini


/--------------------------------------------------- [EMAIL PROTECTED] -\
  Dott. Giacomo FIORENTINI                           +39-721-414634 (office)
   Esalab - GIS & Consulting   Via A. Costa 65       +39-721-415041 (fax)
   R&D Software Area           61100 PESARO (Italy)  0339 3573124   (mobile)
\----------------------------------------------------------------------------/

--
 This message is confidential and solely for the intended addressee(s). If
 you are not the intended recipient of this message, please notify the
 sender immediately and delete it from your system. Unauthorised
 reproduction, disclosure, modification and/or distribution of this e-mail
 is strictly prohibited. The contents of this e-mail do not constitute a
 commitment by Esalab snc,
 except where expressly provided for in a written agreement between you and
 Esalab snc .
 


Reply via email to