@Override
  public int hashCode() {
    double result = scaleVal(width, DerivedScaleType.PIX_SCALE);
    result = 31 * result + scaleVal(height, DerivedScaleType.PIX_SCALE);
    return (int)result;
  }
@Override
  public int hashCode()