clipTransform.scale(-scaleX, -scaleY);
clipTransform.scale(1 / scaleX, 1 / scaleY);
  public void scale(double scaleX, double scaleY)  {    transform.scale(scaleX, scaleY);    if (clip != null)      {        AffineTransform clipTransform = new AffineTransform();        clipTransform.scale(-scaleX, -scaleY);        updateClip(clipTransform);      }    updateOptimization();  }