Snap.svg
Snap.svg copied to clipboard
About returned value of getPointAtLength

I want to know the meaning at below values, thanks very much.
m
n
x
y
I think this would likely correspond to the findDotsAtSegment helper method
https://github.com/adobe-webplatform/Snap.svg/blob/master/src/path.js#L1215
- Snap.path.findDotsAtSegment
[ method ]
**
- Utility method **
- Finds dot coordinates on the given cubic beziér curve at the given t
- p1x (number) x of the first point of the curve
- p1y (number) y of the first point of the curve
- c1x (number) x of the first anchor of the curve
- c1y (number) y of the first anchor of the curve
- c2x (number) x of the second anchor of the curve
- c2y (number) y of the second anchor of the curve
- p2x (number) x of the second point of the curve
- p2y (number) y of the second point of the curve
- t (number) position on the curve (0..1) = (object) point information in format: o { o x: (number) x coordinate of the point, o y: (number) y coordinate of the point, o m: { o x: (number) x coordinate of the left anchor, o y: (number) y coordinate of the left anchor o }, o n: { o x: (number) x coordinate of the right anchor, o y: (number) y coordinate of the right anchor o }, o start: { o x: (number) x coordinate of the start of the curve, o y: (number) y coordinate of the start of the curve o }, o end: { o x: (number) x coordinate of the end of the curve, o y: (number) y coordinate of the end of the curve o }, o alpha: (number) angle of the curve derivative at the point o }