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 javaNoob <no...@yahoo.com> on 2007/07/20 08:14:37 UTC
getPathLength question
is it really not implemented yet? i got an exception:
Exception in thread "AWT-EventQueue-1"
java.lang.UnsupportedOperationException: SVGPathElement.getPathLength is not
implemented
--
View this message in context: http://www.nabble.com/getPathLength-question-tf4115263.html#a11702694
Sent from the Batik - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
How to get the points of a segment through SVGPathSeg?
Posted by hardc0d3r <ha...@gmail.com>.
how do i get the points of a segment through SVGPathSeg?
--
View this message in context: http://www.nabble.com/getPathLength-question-tf4115263.html#a11709733
Sent from the Batik - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
Re: getPathLength question
Posted by Cameron McCormack <ca...@mcc.id.au>.
Hi.
javaNoob:
> is it really not implemented yet? i got an exception:
>
> Exception in thread "AWT-EventQueue-1"
> java.lang.UnsupportedOperationException: SVGPathElement.getPathLength is not
> implemented
Yes, it’s not implemented. Note though that getPathLength() returns an
SVGAnimatedNumber representing the pathLength attribute on the element.
getTotalLength() returns the computed length of the path.
--
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