ImageMagick.ColorGray.UpdateValue C# (CSharp) Method

UpdateValue() protected method

Updates the color value in an inherited class.
protected UpdateValue ( ) : void
return void
    protected override void UpdateValue()
    {
      QuantumType gray = Quantum.ScaleToQuantum(Shade);
      Value.R = gray;
      Value.G = gray;
      Value.B = gray;
    }