Please note that if you are working with Retina Display on macOS, there is a bug in GraphicsPath that draws the polygon at the wrong position. The bug was fixed in an alpha version of Xojo 2020r1. <https://xojo.com/issue/59334>
I am somewhat confused by drawing polygons or lines for that matter with
GraphicsPath
vs
Object2D
GraphicsPath is the new kid on the block but I don’t quite see in many cases what advantage it has. If you were trying to draw polygons, why wouldn’t you be using the 2D Object FigureShape?
It seems to me that many (? most) things that you could draw with GraphicsPath are basically equivalent to creating an Object2D or a collection of Object2D (Group2D) and drawing them to the canvas.
I am confused by GraphicsPath. The documentation contains few examples. Why is it so great?