Geomerative RStyle strokeColor confusion
in
Contributed Library Questions
•
2 years ago
I have been trying to find the stroke colors of an SVG file using the Geomerative Library.
The file has three lines in three different colors.
I think that the solution relies on RStyle and strokeColor but I am confused as to how to implement these for each path or layer of the SVG files.
right now, I have the SVG file as a shape, then I iterate through each point in each path using .getPointsInPaths();
These x, y values are sent to my CNC, Ideally I would like to have the color of the line act as a different Z axis.
Is there a way to see what color the stroke of the current point is? or do I have to take apart the RShape in a different way?
when I was playing with the strokeColor, I was able to get an odd number that didn't represent a color.
any help is appreciated.
1