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