wx.lib.floatcanvas.FCObjects.SquarePoint¶Draws a square 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.
Known Superclasses¶wx.lib.floatcanvas.FCObjects.ColorOnlyMixin, wx.lib.floatcanvas.FCObjects.DrawObject, wx.lib.floatcanvas.FCObjects.XYObjectMixin
Class API¶SquarePoint(XYObjectMixin, ColorOnlyMixin, DrawObject)¶Draws a square 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.
__init__(self, Point, Color="Black", Size=4, InForeground=False)¶Default class constructor.
| Parameters: |
|
|---|
SetSize(self, Size)¶Sets the size
| Parameters: | Size (integer) – the size of the square point |
|---|