wx.lib.floatcanvas.FCObjects.Point¶A point DrawObject
Note
The Bounding box is just the point, and doesn’t include the Diameter.
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¶Point(XYObjectMixin, ColorOnlyMixin, DrawObject)¶A point DrawObject
Note
The Bounding box is just the point, and doesn’t include the Diameter.
The HitLineWidth is used as diameter for the Hit Test.
__init__(self, XY, Color="Black", Diameter=1, InForeground=False)¶Default class constructor.
| Parameters: |
|
|---|
SetDiameter(self, Diameter)¶Set the diameter of the object.
| Parameters: | Diameter (integer) – in screen points |
|---|