Hi all, I’ve done some research on curve drawing with Path etc but can’t seem to get them working together to get my desired result.
I have one path that’s drawing a curved line (working fine). Now I’m trying to use
fillRectangle() in a second path to illustrate another point of data. What I’d like to have is the bottom part of the rectangle draw along the path of the line.
Here is what I have…
I tried to use
addLineSegment and look at a way of filling in to the previous line segment, but that didn’t quite work either, though this shows how I’d like the bottom to curve along the line
Can anyone offer a tip? Thinking it’s somehow using
cubicTo but can’t get it to quite work.
Thanks for any help!