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.
wx.lib.floatcanvas.FCObjects.ColorOnlyMixin
, wx.lib.floatcanvas.FCObjects.DrawObject
, wx.lib.floatcanvas.FCObjects.XYObjectMixin
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 |
---|