ARCed.Core.ColorWheel.CalcCoordsAndUpdate C# (CSharp) Méthode

CalcCoordsAndUpdate() private méthode

private CalcCoordsAndUpdate ( ColorHandler hsv ) : void
hsv ColorHandler
Résultat void
        private void CalcCoordsAndUpdate(ColorHandler.HSV hsv)
        {
            this._colorPoint = GetPoint((double)hsv.Hue / 255 * 360,
                (double)hsv.Saturation / 255 * this._radius,
                this._centerPoint);
            this._brightnessPoint = this.CalcBrightnessPoint(hsv.Value);
            this._brightness = hsv.Value;
            this._selectedColor = ColorHandler.HSVtoColor(hsv);
            this._argb = ColorHandler.HSVtoRGB(hsv);
            this._fullColor = ColorHandler.HSVtoColor(hsv.Alpha, hsv.Hue, hsv.Saturation, 255);
        }