Paint.CanvasPlayback.SetColor C# (CSharp) Method

SetColor() private method

Sets the color based on the data in the commandByteArray
private SetColor ( ) : void
return void
        private void SetColor()
        {
            Color newColor = new Color();
            newColor.A = this.commandByteArray[1];
            newColor.R = this.commandByteArray[2];
            newColor.G = this.commandByteArray[3];
            newColor.B = this.commandByteArray[4];

            this.Color = newColor;
        }