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