public final class BatikUtil extends Object
Constructor and Description |
---|
BatikUtil() |
Modifier and Type | Method and Description |
---|---|
static double[] |
getRelativeCoordinates(Event evt,
Element reference)
Get the relative coordinates of a point within the coordinate system of a
particular SVG Element.
|
public static double[] getRelativeCoordinates(Event evt, Element reference)
evt
- Event, needs to be a DOMMouseEventreference
- SVG Element the coordinate system is used of