@Override public void paint(CGMDisplay d) { if (this.color != null) { d.setLineColor(this.color); } else { d.setLineColorIndex(this.colorIndex); } }
public void paint(CGMDisplay d) { d.setFillColor(C); }