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

Method Line

ij/src/main/java/ij/gui/Line.java:41–43  ·  view source on GitHub ↗

Creates a new straight line selection using the specified starting and ending offscreen integer coordinates.

(int ox1, int oy1, int ox2, int oy2)

Source from the content-addressed store, hash-verified

39 /** Creates a new straight line selection using the specified
40 starting and ending offscreen integer coordinates. */
41 public Line(int ox1, int oy1, int ox2, int oy2) {
42 this((double)ox1, (double)oy1, (double)ox2, (double)oy2);
43 }
44
45 /** Creates a new straight line selection using the specified
46 starting and ending offscreen double coordinates. */

Callers

nothing calls this directly

Calls 8

updateCoordinatesMethod · 0.95
updateWideLineMethod · 0.80
updateClipRectMethod · 0.80
offScreenXDMethod · 0.45
offScreenYDMethod · 0.45
roundMethod · 0.45
setImageMethod · 0.45

Tested by

no test coverage detected