1 package kaka.cakelight;
3 import javafx.scene.paint.Color;
5 public class LedFrame {
8 public static LedFrame from(Configuration config) {
9 LedFrame frame = new LedFrame();
10 frame.leds = new Color[config.leds.cols * 2 + config.leds.rows * 2];
14 public void setLedColor(int led, Color color) {
18 public Color getLedColor(int led) {