 
       wx.lib.agw.cubecolourdialog.RGBCube¶
  wx.lib.agw.cubecolourdialog.RGBCube¶Implements the drawing, mouse handling and sizing routines for the RGB cube colour.
 Methods Summary¶
 Methods Summary¶| __init__ | Default class constructor. | 
| DrawLines | Draws the lines connecting the markers on top of the background bitmap. | 
| DrawMarkers | Draws the markers on top of the background bitmap. | 
| OnLeftDown | Handles the wx.EVT_LEFT_DOWNforRGBCube. | 
| OnLeftUp | Handles the wx.EVT_LEFT_UPforRGBCube. | 
| OnMotion | Handles the wx.EVT_MOTIONforRGBCube. | 
 Class API¶
 Class API¶RGBCube(BasePyControl)¶Implements the drawing, mouse handling and sizing routines for the RGB cube colour.
__init__(self, parent)¶Default class constructor. Used internally. Do not call it in your code!
| Parameters: | parent – the control parent window. | 
|---|
DrawLines(self, dc)¶Draws the lines connecting the markers on top of the background bitmap.
| Parameters: | dc – an instance of wx.DC. | 
|---|
DrawMarkers(self, dc=None)¶Draws the markers on top of the background bitmap.
| Parameters: | dc – an instance of wx.DC. | 
|---|
OnLeftDown(self, event)¶Handles the wx.EVT_LEFT_DOWN for RGBCube.
| Parameters: | event – a MouseEventevent to be processed. | 
|---|
OnLeftUp(self, event)¶Handles the wx.EVT_LEFT_UP for RGBCube.
| Parameters: | event – a MouseEventevent to be processed. | 
|---|