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

Method getDrawingFrame

ij/src/main/java/ij/gui/Plot.java:1865–1869  ·  view source on GitHub ↗

Returns the rectangle where the data are plotted. This rectangle includes the black outline frame at the top and left, but not at the bottom and right (when the frame is plotted with 1 pxl width). The image scale is its width or height in pixels divided by the data range in x or y.

()

Source from the content-addressed store, hash-verified

1863 * and right (when the frame is plotted with 1 pxl width).
1864 * The image scale is its width or height in pixels divided by the data range in x or y. */
1865 public Rectangle getDrawingFrame() {
1866 if (frame == null)
1867 getBlankProcessor(); //setup frame if not done yet
1868 return new Rectangle(frame.x, frame.y, frameWidth, frameHeight);
1869 }
1870
1871 /** Creates a new high-resolution plot by scaling it and displays that plot if showIt is true.
1872 * <code>title</code> may be null, then a default title is used. */

Callers 6

getPlotMethod · 0.95
getPlotFrameBoundsMethod · 0.80
updatePlotMethod · 0.80
mouseDraggedMethod · 0.80
mouseMovedMethod · 0.80
zoomControlMethod · 0.80

Calls 1

getBlankProcessorMethod · 0.95

Tested by

no test coverage detected