Does batik offer any helper methods which allow me to insert an image inside
a <symbol reference> and have this take up the entire space of the
container?
I have a symbol element which contains a rectangle which act as a
placeholder.
This rectangle should be removed runtime and be replaces by an image.
The problem is that this rectangle is a vector shape and therefore lots of
transformation has been added from Illustrator.
The use element which references the symbol has x and y values which are
relative to the viewBox, but the problem is that this viewBox should be
altered because i now want to insert a raster image instead of this
rectangle.

As far as I see i have to remove the viewBox and do this calculation my self
in order have the new image take up the amount of space defined by the
rectangle.

What i was hoping for was something that would allow me to switch an element
with another and have this fill up the entire container.

I hope you understand me.
Thanks!

Reply via email to