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

Method draw

ij/src/main/java/ij/ImagePlus.java:352–355  ·  view source on GitHub ↗

Draws the image. If there is an ROI, its outline is also displayed. Does nothing if there is no window associated with this image (i.e. show() has not been called).

()

Source from the content-addressed store, hash-verified

350 is no window associated with this image (i.e. show()
351 has not been called).*/
352 public void draw() {
353 if (win!=null)
354 win.getCanvas().repaint();
355 }
356
357 /** Draws image and roi outline using a clip rect. */
358 public void draw(int x, int y, int width, int height){

Callers 15

updateAndDrawMethod · 0.95
repaintWindowMethod · 0.95
setProcessor2Method · 0.95
setRoiMethod · 0.95
deleteRoiMethod · 0.95
restoreRoiMethod · 0.95
undoMethod · 0.95
setSelectionLocationMethod · 0.95
doOverlayMethod · 0.95
doRoiMethod · 0.95
showDialogMethod · 0.95
itemStateChangedMethod · 0.95

Calls 8

getMagnificationMethod · 0.95
screenXMethod · 0.95
screenYMethod · 0.95
notifyListenersMethod · 0.95
getPasteModeMethod · 0.80
repaintMethod · 0.45
getCanvasMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected