>>>>> "SM" == Stuart McMahon <[EMAIL PROTECTED]> writes:

SM> Can someone tell me how to reference external fragments with
SM> Batik? We are displaying graphics on JSVGCanvas.  Below shows an
SM> svg file which uses "gradient_1" definition to define the rect
SM> stroke.  What we need is to have the definition in another file
SM> but still reference it.  can anyone help?

    Assuming the gradient is in file 'foo.svg' in the same directory
as the given document:

'stroke:url(foo.svg#gradient_1)'.

    Just use any normal URL (the above is a relative URL) with
#'id' on the end.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to