I can neither turn the GSNode.type into CURVE (I can actually, but it completely messes with everything), nor GSPathSegment.type (read-only).
How do I do it?
I solved it by reconstructing the list of nodes from scratch and inserting OFFCURVE and CURVE nodes at the right point instead of the LINE node.
1 Like
You don’t need to make a new list of nodes. Insert the two offcurve nodes and change the type should work. Wrap it in layer.stopUpdates()
/ layer.startUpdates()
calls.
1 Like