de.lmu.ifi.dbs.elki.visualization.batikutil
Class BatikUtil

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.visualization.batikutil.BatikUtil

public final class BatikUtil
extends Object

Batik helper class with static methods.


Constructor Summary
BatikUtil()
           
 
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
 

Constructor Detail

BatikUtil

public BatikUtil()
Method Detail

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 DOMMouseEvent
reference - SVG Element the coordinate system is used of
Returns:
Array containing the X and Y values

Release 0.4.0 (2011-09-20_1324)