- From: Paul LeBeau <paul.lebeau@gmail.com>
- Date: Tue, 28 Apr 2015 18:17:19 +1200
- To: www-svg <www-svg@w3.org>
Received on Tuesday, 28 April 2015 06:18:11 UTC
Hi all Given that we are now defining a "start point" for dashing for elements other than path (circle, rect, etc). Would it not now also make sense to allow getTotalLength() and getPointAtLength() for these elements? Among other things, it would be useful for people who want to use the dasharray trick to animate the line drawing of shapes other than paths. Moving these methods to the SVGGeometryElement interface might be appropriate. However that is complicated by the fact that SVGGeometryElement also covers text elements. Perhaps, in the case of text, the "length" might refer to the text baseline? Paul
Received on Tuesday, 28 April 2015 06:18:11 UTC