rawSetForeground((Color) paint);
  public void setPaint(Paint p)  {    if (p != null)      {    paint = p;        if (! (paint instanceof Color))      isOptimized = false;    else      {        updateOptimization();        rawSetForeground((Color) paint);      }  }  }