Converts the specified point (x, y) using the offset of the specified container and returns a new Point with the result.
const pt = styleUtils.convertPoint(graph.container, eventUtils.getClientX(evt), eventUtils.getClientY(evt)); Copy
const pt = styleUtils.convertPoint(graph.container, eventUtils.getClientX(evt), eventUtils.getClientY(evt));
DOM node to use for the offset.
X-coordinate of the point to be converted.
Y-coordinate of the point to be converted.
Converts the specified point (x, y) using the offset of the specified container and returns a new Point with the result.