Exemplo n.º 1
0
        public void Activate(Color[] pixels)
        {
            for (int i = 0; i < pixels.Length; i++)
            {
                pixels[(pixels.Length - 1) - i] = this.Color;
            }

            for (int j = 0; j < pixels.Length; j += 15)
            {
                StripHelper.FillColor(pixels, j + 5, 10, Color.Black);
            }

            memory = new Color[pixels.Length];
            Array.Copy(pixels, memory, pixels.Length);
        }
Exemplo n.º 2
0
 public void Activate(Color[] pixels)
 {
     strip = new Color[pixels.Length];
     StripHelper.FillColor(strip, 0, strip.Length, Color.Gold);
     Array.ConstrainedCopy(pixels, 0, strip, 0, pixels.Length);
 }
Exemplo n.º 3
0
 public void FrameUpdate(Color[] pixels)
 {
     StripHelper.FillColor(pixels, 0, pixels.Length, _color);
 }