org.rubato.rubettes.bigbang.view.model
Class ZoomChange
java.lang.Object
org.rubato.rubettes.bigbang.view.model.ZoomChange
public class ZoomChange
- extends java.lang.Object
Constructor Summary |
ZoomChange(double scrollUnits,
int x,
int y,
int activeCoordinates)
Creates a standard ZoomChange. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
X_ONLY
public static final int X_ONLY
- See Also:
- Constant Field Values
Y_ONLY
public static final int Y_ONLY
- See Also:
- Constant Field Values
BOTH
public static final int BOTH
- See Also:
- Constant Field Values
ZoomChange
public ZoomChange(double scrollUnits,
int x,
int y,
int activeCoordinates)
- Creates a standard ZoomChange.
- Parameters:
scrollUnits
- x
- y
- activeCoordinates
- a modifier: either ZoomChange.X_ONLY, ZoomChange.Y_ONLY, or ZoomChange.BOTH
getXChangeFactor
public double getXChangeFactor()
getYChangeFactor
public double getYChangeFactor()
getX
public int getX()
getY
public int getY()