Example #1
0
 public void setPaint(and.awt.Paint fill) {
   if (fill instanceof Color) {
     Color c = (Color) fill;
     paint.setColor(c.getRGB());
   }
 }
Example #2
0
 public void setPaint(Color lineColor) {
   paint.setColor(lineColor.getRGB());
 }