W3C home > Mailing lists > Public > www-svg@w3.org > July 2011

Re: stroke=gradient for lines or horizontal paths

From: Robert Longson <longsonr@gmail.com>
Date: Wed, 13 Jul 2011 13:25:07 +0100
Message-ID: <CAOu7Uv6MSDz1Hh5wV-zc_aZJXcVQnVRW00r9wc7y7uNwZC8oGw@mail.gmail.com>
To: www-svg@w3.org

> Which of course begs the question - how do you get
> the bounding box of a stroked object through the DOM?

You can call getBoundingClientRect


This works on IE9 and Firefox. I'm not sure where else it is implemented.

Best regards

Received on Wednesday, 13 July 2011 12:25:45 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:25 UTC