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

SetAllOnlyColor() public method

public SetAllOnlyColor ( Color color ) : Pixel1D
color Color
return Pixel1D
        public Pixel1D SetAllOnlyColor(Color color)
        {
            for (int i = 0; i < this.color.Length; i++)
            {
                this.color[i] = color;
            }

            RaiseMultiPixelChanged(0, this.brightness.Length);

            return this;
        }