hi katharina

there are a few ways to do what you want. the most elegant way would be 
SVG 1.2 s vector effects, since its not implemented anywhere, for now
its not an option.
you can join your shapes using pathes. just copy your polylines into one 
d attribute, like this:

<path fill-rule="nonzero" d="M90,90 L110,90 110,510 90,510 90,90
                                  M90,490 L710,490 710,510 90,510 90,490
                       M690,510 L690,90 710,90 710,510 690,510
                       M710,90 L710,110 90,110 90,90 710,90" />

note!! that i had to reverse the order of the points in the two middle 
pathes.see:
http://www.w3.org/TR/SVG11/painting.html#FillProperties  for a reason why.
 
hth
holger

tamsvg wrote:

>
> Hi!
>
> I've paint 4 rectangles (but I did it with polylines!)The 4
> rectangles are overlapping each other. How can I blend them, so that
> it looks like one element?
>
> Here's my code:
>
> <?xml version="1.0" encoding='ISO-8859-1' ?>
>
> <svg width="800" height="800" xmlns="http://www.w3.org/2000/svg";>
>
>    <polyline points="90,90 110,90 110,510 90,510 90,90" stroke-
> width="1" fill="none" stroke="black" filter="url:(#compose)" />
>    <polyline points="90,490 90,510 710,510 710,490 90,490" stroke-
> width="1" fill="none" stroke="black" />
>    <polyline points="690,510 710,510 710,90 690,90 690,510" stroke-
> width="1" fill="none" stroke="black" />
>    <polyline points="710,90 710,110 90,110 90,90 710,90" stroke-
> width="1" fill="none" stroke="black" />
> </svg>
>
> Can anybody help me?
> Katharina
>
>



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
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