Animatroller.Framework.LogicalDevice.Pixel1D.SetColor C# (CSharp) Method

SetColor() public method

public SetColor ( int channel, Color color ) : Pixel1D
channel int
color Color
return Pixel1D
        public virtual Pixel1D SetColor(int channel, Color color)
        {
            CheckBounds(channel);

            this.color[channel] = color;
            this.brightness[channel] = 1.0;

            RaisePixelChanged(channel);

            return this;
        }

Same methods

Pixel1D::SetColor ( int channel, Color color, double brightness ) : Pixel1D