com.jidesoft.transform
Class SimpleTwoDScreenTransform
java.lang.Object
com.jidesoft.transform.AbstractMutableTwoDScreenTransform
com.jidesoft.transform.SimpleTwoDScreenTransform
- All Implemented Interfaces:
- MutableTwoDScreenTransform, TwoDScreenTransform
public class SimpleTwoDScreenTransform
- extends AbstractMutableTwoDScreenTransform
Default implementation of a TwoDScreenTransform.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleTwoDScreenTransform
public SimpleTwoDScreenTransform(BoundedInterval x,
BoundedInterval y,
int screenSize)
screenToWorld
public Point2D screenToWorld(Point screen)
screenToWorld
public Rectangle2D screenToWorld(Rectangle screen)
worldToScreen
public Point worldToScreen(Point2D world)
worldToScreen
public Rectangle worldToScreen(Rectangle2D world)
getXWorldInterval
public Interval getXWorldInterval()
getYWorldInterval
public Interval getYWorldInterval()
getScreenSize
public Dimension getScreenSize()
isAffine
public boolean isAffine()
setScreenSize
public void setScreenSize(Dimension screenSize)