Method | Description | |
---|---|---|
ColourConverter ( ) : System |
Constructur
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Method | Description | |
---|---|---|
BlendColour ( HSV one, HSV two, double blendvalue ) : HSV |
Colour Blending: http://www.stuartdenman.com/improved-color-blending/ Where blend value is [0-1]
|
|
ConvertColour ( RGB rgb ) : HSV |
Converting RGB-HSV: http://www.poynton.com/PDFs/coloureq.pdf p15 Where rgb is [0,1]
|
|
ConvertColour ( HSV hsv ) : RGB |
Converting HSV-RGB: http://www.poynton.com/PDFs/coloureq.pdf p15 Where h is [0,360] and sv is [0,1]
|
|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
SetBlendValue ( ) : void |
Updates and sets the blend value
|
|
SetMiddleColour ( ) : void |
Updates and sets the middle button colour
|
|
button1_Click ( object sender, |
On Button 1 click show colour dialog
|
|
button2_Click ( object sender, |
On Button 2 click show colour dialog
|
|
buttonRandom_Click ( object sender, |
On Random button click
|
|
trackBar1_ValueChanged ( object sender, |
On Track bar value change
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |