Path / Shape Clipping with Arcs
Posted: 21 Nov 2014 03:16
I've been having my way with the radial step sequencer project, decided it would be nice to round out the ends to keep it circular no matter how many steps are inserted (anything less than 8 started to look like a polygon as you might expect)
After some fuss and thick headed-ness I was able to round out the outside edges of each switch with no problem.
I tried applying the same logic to the inside edge of the trapezoid, and i can see the path generating, but the fill seems to ignore the new arc...
I'm using the arcTo method but, i have the same results with regular arc in radians, bezierCurveTo and even if i just try to break the line into 2 segments, with the linking point the same distance from the center of the object as their not linked points, as to create a concave polygon.
I did some googling, looks like i need to setup a clipping path or something? I saw a few tutorials but they all refrenced methods that don't yet seem to be avalible in Lemur canvas.
What is protocol for this?
In the image below, you will see the inside arcs being drawn, but the fill ignoring them as a path...
After some fuss and thick headed-ness I was able to round out the outside edges of each switch with no problem.
I tried applying the same logic to the inside edge of the trapezoid, and i can see the path generating, but the fill seems to ignore the new arc...
I'm using the arcTo method but, i have the same results with regular arc in radians, bezierCurveTo and even if i just try to break the line into 2 segments, with the linking point the same distance from the center of the object as their not linked points, as to create a concave polygon.
I did some googling, looks like i need to setup a clipping path or something? I saw a few tutorials but they all refrenced methods that don't yet seem to be avalible in Lemur canvas.
What is protocol for this?
In the image below, you will see the inside arcs being drawn, but the fill ignoring them as a path...