MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / getCursorLoc

Method getCursorLoc

ij/src/main/java/ij/gui/ImageCanvas.java:648–650  ·  view source on GitHub ↗

Returns the current cursor location in image coordinates.

()

Source from the content-addressed store, hash-verified

646
647 /** Returns the current cursor location in image coordinates. */
648 public Point getCursorLoc() {
649 return new Point(xMouse, yMouse);
650 }
651
652 /** Returns 'true' if the cursor is over this image. */
653 public boolean cursorOverImage() {

Callers 13

updateStatusbarValueMethod · 0.95
getCursorLocMethod · 0.95
runMethod · 0.95
commandExecutingMethod · 0.95
mousePressedMethod · 0.95
runMethod · 0.95
runMethod · 0.95
mouseDraggedMethod · 0.45
mouseWheelMovedMethod · 0.45
mouseWheelMovedMethod · 0.45
zoomMethod · 0.45
drawRoiBrushMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected