Method | Description | |
---|---|---|
ctrl2DColorBox ( ) : System |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Method | Description | |
---|---|---|
ClearMarker ( ) : void |
Redraws only the content over the marker
|
|
DrawBorder ( ) : void |
Draws the border around the control.
|
|
DrawContent ( ) : void |
Evaluates the DrawStyle of the control and calls the appropriate drawing function for content
|
|
DrawMarker ( int x, int y, bool Unconditional ) : void |
Draws the marker (circle) inside the box
|
|
Draw_Style_Blue ( ) : void |
Draws the content of the control filling in all color values with the provided Blue value.
|
|
Draw_Style_Green ( ) : void |
Draws the content of the control filling in all color values with the provided Green value.
|
|
Draw_Style_Hue ( ) : void |
Draws the content of the control filling in all color values with the provided Hue value.
|
|
Draw_Style_Luminance ( ) : void |
Draws the content of the control filling in all color values with the provided Luminance or Brightness value.
|
|
Draw_Style_Red ( ) : void |
Draws the content of the control filling in all color values with the provided Red value.
|
|
Draw_Style_Saturation ( ) : void |
Draws the content of the control filling in all color values with the provided Saturation value.
|
|
GetColor ( int x, int y ) : AdobeColors.HSL |
Returns the graphed color at the x,y position on the control
|
|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
Redraw_Control ( ) : void |
Calls all the functions neccessary to redraw the entire control.
|
|
ResetHSLRGB ( ) : void |
Resets the controls color (both HSL and RGB variables) based on the current marker position
|
|
Reset_Marker ( bool Redraw ) : void |
Resets the marker position of the slider to match the controls color. Gives the option of redrawing the slider.
|
|
Round ( double val ) : int |
Kindof self explanitory, I really need to look up the .NET function that does this.
|
|
ctrl2DColorBox_Load ( object sender, System e ) : void | ||
ctrl2DColorBox_MouseDown ( object sender, System e ) : void | ||
ctrl2DColorBox_MouseMove ( object sender, System e ) : void | ||
ctrl2DColorBox_MouseUp ( object sender, System e ) : void | ||
ctrl2DColorBox_Paint ( object sender, System e ) : void | ||
ctrl2DColorBox_Resize ( object sender, System e ) : void |