Struct containing data for a color of the HSV color space.
Ejemplo n.º 1
0
 /// <summary>
 /// Draws the images
 /// </summary>
 /// <param name="g">Graphics context to draw with</param>
 /// <param name="argb">ARGB color to draw</param>
 public void Draw(Graphics g, ColorHandler.ARGB argb)
 {
     this._graphics = g;
     this._hsv = ColorHandler.RGBtoHSV(argb);
     this.CalcCoordsAndUpdate(this._hsv);
     this.UpdateDisplay();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Draws the images
 /// </summary>
 /// <param name="g">Graphics context to draw with</param>
 /// <param name="hsv">HSV color to draw</param>
 public void Draw(Graphics g, ColorHandler.HSV hsv)
 {
     this._graphics = g;
     this._hsv = hsv;
     this.CalcCoordsAndUpdate(this._hsv);
     this.UpdateDisplay();
 }