Package elki.visualization.batikutil
Class BatikUtil
- java.lang.Object
-
- elki.visualization.batikutil.BatikUtil
-
public final class BatikUtil extends java.lang.Object
Batik helper class with static methods.- Since:
- 0.3
- Author:
- Erich Schubert
-
-
Constructor Summary
Constructors Modifier Constructor Description private
BatikUtil()
Private constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static double[]
getRelativeCoordinates(org.w3c.dom.events.Event evt, org.w3c.dom.Element reference)
Get the relative coordinates of a point within the coordinate system of a particular SVG Element.static boolean
hasFOPInstalled()
Test whether FOP were installed (for PDF, PS and EPS output support).
-
-
-
Method Detail
-
getRelativeCoordinates
public static double[] getRelativeCoordinates(org.w3c.dom.events.Event evt, org.w3c.dom.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
-
hasFOPInstalled
public static boolean hasFOPInstalled()
Test whether FOP were installed (for PDF, PS and EPS output support).- Returns:
true
when FOP is available.
-
-