You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Phil Wright <ph...@gmail.com> on 2006/11/22 05:51:18 UTC

SVG paths auto-filling

When I add path elements to my doc they automatically fill if I don't call
out a fill attribute of "none".  Is this supposed to happen?

    Phil


-- 
Visit http://www.darkisle.com for photos of castles, cairns and other
historic sites in the British Isles.

Re: SVG paths auto-filling

Posted by Phil Wright <ph...@gmail.com>.
Hi Cameron,

So basically a stoopid noobie mistake.  Heh.

That'll teach me to assume that an unclosed path wouldn't be filled.

Thanks!

      Phil


On 11/21/06, Cameron McCormack <ca...@mcc.id.au> wrote:
>
> Hi Phil.
>
> Phil Wright:
> > When I add path elements to my doc they automatically fill if I don't
> call
> > out a fill attribute of "none".  Is this supposed to happen?
>
> Yes, since the fill property has an initial value of black:
>
>   http://www.w3.org/TR/SVG11/painting.html#FillProperty
>
> --
> Cameron McCormack, http://mcc.id.au/
>         xmpp:heycam@jabber.org  ▪  ICQ 26955922  ▪  MSN cam@mcc.id.au
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
>
>


-- 
Visit http://www.darkisle.com for photos of castles, cairns and other
historic sites in the British Isles.

Re: SVG paths auto-filling

Posted by Cameron McCormack <ca...@mcc.id.au>.
Hi Phil.

Phil Wright:
> When I add path elements to my doc they automatically fill if I don't call
> out a fill attribute of "none".  Is this supposed to happen?

Yes, since the fill property has an initial value of black:

  http://www.w3.org/TR/SVG11/painting.html#FillProperty

-- 
Cameron McCormack, http://mcc.id.au/
	xmpp:heycam@jabber.org  ▪  ICQ 26955922  ▪  MSN cam@mcc.id.au

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