The SquarePoint class takes a 2-tuple, or a (2,) NumPy array of point coordinates. It produces a square dot, centered on Point
The Size is in screen points, not world coordinates, so the Bounding box is just the point, and doesn’t include the Size.
The HitLineWidth is used as diameter for the Hit Test.
lib.floatcanvas.FloatCanvas.ColorOnlyMixin, lib.floatcanvas.FloatCanvas.DrawObject, lib.floatcanvas.FloatCanvas.XYObjectMixin
The SquarePoint class takes a 2-tuple, or a (2,) NumPy array of point coordinates. It produces a square dot, centered on Point
The Size is in screen points, not world coordinates, so the Bounding box is just the point, and doesn’t include the Size.
The HitLineWidth is used as diameter for the Hit Test.