/** * setter for the scale fires a PropertyChangeEvent with the AffineTransforms representing the * previous and new values for scale and offset * * @param scalex the amount to scale in the x direction * @param scaley the amount to scale in the y direction * @param from the point to transform */ public void setScale(double scalex, double scaley, Point2D from) { transform.setToIdentity(); scale(scalex, scaley, from); }
/** * setter for the scale * fires a PropertyChangeEvent with the AffineTransforms representing * the previous and new values for scale and offset * @param scalex the amount to scale in the x direction * @param scaley the amount to scale in the y direction * @param from the point to transform */ public void setScale(double scalex, double scaley, Point2D from) { transform.setToIdentity(); scale(scalex, scaley, from); }