
wx.lib.agw.cubecolourdialog.HSVWheel¶Implements the drawing, mouse handling and sizing routines for the HSV colour wheel.
Class Hierarchy¶
Inheritance diagram for class HSVWheel:

Known Superclasses¶wx.lib.agw.cubecolourdialog.BasePyControl
Methods Summary¶Default class constructor. |
|
Draws the markers on top of the background bitmap. |
|
Returns whether a point is inside the HSV wheel or not. |
|
Handles the |
|
Handles the |
|
Handles the |
|
Track a mouse event inside the HSV colour wheel. |
Class API¶HSVWheel(BasePyControl)¶Implements the drawing, mouse handling and sizing routines for the HSV colour wheel.
__init__(self, parent)¶Default class constructor. Used internally. Do not call it in your code!
parent – the control parent window.
DrawMarkers(self, dc=None)¶Draws the markers on top of the background bitmap.
dc – an instance of wx.DC.
InCircle(self, pt)¶Returns whether a point is inside the HSV wheel or not.
pt – an instance of wx.Point.
OnLeftDown(self, event)¶Handles the wx.EVT_LEFT_DOWN for HSVWheel.
event – a MouseEvent event to be processed.
OnLeftUp(self, event)¶Handles the wx.EVT_LEFT_UP for HSVWheel.
event – a MouseEvent event to be processed.
OnMotion(self, event)¶Handles the wx.EVT_MOTION for HSVWheel.
event – a MouseEvent event to be processed.