de.lmu.ifi.dbs.elki.visualization.batikutil
Class BatikUtil
java.lang.Object
de.lmu.ifi.dbs.elki.visualization.batikutil.BatikUtil
public final class BatikUtil
- extends Object
Batik helper class with static methods.
Method Summary |
static double[] |
getRelativeCoordinates(Event evt,
Element reference)
Get the relative coordinates of a point within the coordinate system of a
particular SVG Element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BatikUtil
public BatikUtil()
getRelativeCoordinates
public static double[] getRelativeCoordinates(Event evt,
Element reference)
- Get the relative coordinates of a point within the coordinate system of a
particular SVG Element.
- Parameters:
evt
- Event, needs to be a DOMMouseEventreference
- SVG Element the coordinate system is used of
- Returns:
- Array containing the X and Y values