« Return to Thread: Repainting a JSVGCanvas

Re: Repainting a JSVGCanvas

by Cameron McCormack-4 :: Rate this Message:

Reply to Author | View in Thread

aaaa aaaa:
> Hi,how can I force a JSVGCanvas to "repaint" itself? I do not mean
> the repaint method but the kind of repaint when I resize the internal
> frame the JSVGCanvas is located in or move the JSVGScrollPane
> scrollbar.Thanks in advance.

Can you be a bit more specific about what behaviour you see and what you
expect?  When you resize the frame the canvas is in, does it just paint
white in the areas you’d expect to see more of your SVG document?  If
so, then the solution might be as simple as putting an
overflow="visible" attribute on your root <svg> element.

--
Cameron McCormack ≝ http://mcc.id.au/

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@...
For additional commands, e-mail: batik-users-help@...

 « Return to Thread: Repainting a JSVGCanvas