示例#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());
 }