edu.byu.deg.OntologyEditor.shapes
Class PointUtilities
java.lang.Object
edu.byu.deg.OntologyEditor.shapes.PointUtilities
- public abstract class PointUtilities
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PointUtilities
public PointUtilities()
hiResPoint
public static Point2D.Double hiResPoint(Point pt)
lowResPoint
public static Point lowResPoint(Point2D.Double pt)
convertPoint
public static Point2D.Double convertPoint(Component source,
Point2D.Double aPoint,
Component destination)
convertPointToScreen
public static void convertPointToScreen(Point2D.Double p,
Component c)
convertPointFromScreen
public static void convertPointFromScreen(Point2D.Double p,
Component c)
- Convert a point from a screen coordinates to a component's
coordinate system
- Parameters:
p
- a Point object (converted to the new coordinate system)c
- a Component object