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

Method mouseDownInHandle

ij/src/main/java/ij/gui/Line.java:352–356  ·  view source on GitHub ↗
(int handle, int sx, int sy)

Source from the content-addressed store, hash-verified

350 }
351
352 protected void mouseDownInHandle(int handle, int sx, int sy) {
353 super.mouseDownInHandle(handle, sx, sy); //sets state, activeHandle, previousSX&Y
354 if (getStrokeWidth()<=3)
355 ic.setCursor(new Cursor(Cursor.CROSSHAIR_CURSOR));
356 }
357
358 /** Sets the x1d, y1d, x2d, y2d line end points,
359 * the (legacy) integer coordinates of the end points x1, y1, x2, y2

Callers

nothing calls this directly

Calls 2

getStrokeWidthMethod · 0.80
setCursorMethod · 0.45

Tested by

no test coverage detected