Override AddLineToPoint method

Is there a way to override AddLineToPoint(x as Double, y as Double) with a method AddLineToPoint(p as Point) to make a clear code ?

You can always make a module for such methods, add one with extends operator and call the original one as needed.

You could also subclass GraphicsPath and add your overloads there.

1 Like