Canvas.DrawPoint

thedesolatesoul

Expert
Licensed User
Longtime User
When you draw on a canvas with a different strokewidth, and then try to draw a point, sometimes the point is drawn with the different strokewidth.

For e.g.
gCanvas.DrawCircle(X,Y,5dip,Colors.Magenta,True,5dip)
gCanvas.DrawPoint(curvepath.CurvedPath(i).x, curvepath.CurvedPath(i).y,Colors.Cyan )

was painting the points as small circles due to the strokewidth.
I then added a line to draw a circle with strokewidth=0 and the points became normal again.
 
Top