Hi all,
I am a batik novice so please be gentle.
I am trying to fill a rectangle by tiling a .png image. After looking at the
specification I got as far as rendering the following svg:
<?xml version="1.0" encoding="UTF-8"?>
<svg height="297mm" width="210mm">
<pattern width="0.5in" x="0.5in" height="0.5in" id="fpatid"
y="0.5in"
xlink:href="file:///volumes/pbook/users/user/images/image.png"/>
<rect fill="url(#fpatid)" x="0.0in" width="0.5in"
height="0.5in" y="0.0in" stroke="none"/>
</svg>
However I am getting the following error:
java.net.MalformedURLException: no protocol: defs.svg#fpatid
I am not sure how to reference the pattern in fill attribute in the
rectangle.
Any help would be much appreciated.
Regards
Lea.
--
View this message in context:
http://www.nabble.com/Filling-a-rectangle-with-a-tiled-pattern-of-.png-files-tp16399081p16399081.html
Sent from the Batik - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]