PaperJS analogue to SVG's getPointAtLength(offset)?

69 views
Skip to first unread message

Jim Van Riper

unread,
Jul 29, 2016, 3:12:04 PM7/29/16
to Paper.js
I've looked thru the documentation but found haven't had success.  SVG's path.getPointAtLength(offset) tells you the x,y along the path at the specified offset.  It's very useful if you want to break a path into points or line segments at specific intervals or lengths.

Thanks!
Jim

Jürg Lehni

unread,
Aug 1, 2016, 6:29:54 AM8/1/16
to pap...@googlegroups.com
--
You received this message because you are subscribed to the Google Groups "Paper.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to paperjs+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jim Van Riper

unread,
Aug 1, 2016, 8:21:35 AM8/1/16
to Paper.js
Thanks, Jürg. Now that you point it out it's obvious.
Reply all
Reply to author
Forward
0 new messages