Question about arcTo and end coordinate
Is there a way to obtain the current coordinates of the pen. For example, at the end of arcTo (xy1, xy2, xy3, radius), the pen is on the line xy2,xy3 at a certain coordinate, which I would like to obtain.
gferreira last edited by
you can ask a BezierPath for its points:
B = BezierPath() B.moveTo((74, 48)) B.arcTo((238, 182), (46, 252), 60) print('on-curve points:', B.onCurvePoints) print('off-curve points:', B.offCurvePoints) print('all points (on- AND off-curve):', B.points)
Thank you, that's very helpful !