Hi Prad,

svg-developers@yahoogroups.com wrote on 07/11/2006 05:39:29 AM:

> Am able to render the svg element using JSVGCanvas..Since the piture
> is big am able to see a part...Now How can i pan or drag the piture to
> see other parts....

   The canvas has built in 'interactors' that let you pan and zoom in,
<Shift-mouse 1> drag lets you pan the document, <Ctrl-mouse 1> drag 
lets you zoom the document.

   The Canvas also has a bunch of default Java Actions you can
tie to your own event sources.  Take a look at the source.

> Any example code 'll be helpful

   The batik.apps.svgbrowser.JSVGViewerFrame does a lot
of what most people want for action handling.



-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to