Re: Applying gradients to text

Yes, you are correct. I don't know why I thought there was a fill element.
My mistake. Apologies.

+Irfan.
On Apr 14, 2013 2:38 AM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:

> On Sat, Apr 13, 2013 at 11:36 PM, irfan mir <theirf@gmail.com> wrote:
> > Hmm, I didn't know that that was how most graphic libraries fill text.
> > Now, that I think about it, it is how to fill text in SVG. Well, SVG
> creates
> > the shape and then applies the fill on the inside to the outside.
>
> No, it's not.  To fill text in SVG, you just use the 'fill' property
> on a <text> element.  That determines the bounding box of the text,
> sizes the image accordingly, and paints it into the text.
>
> ~TJ
>

Received on Sunday, 14 April 2013 06:44:39 UTC