Draws the plot specified for the first time. Does nothing if the plot has been drawn already. Call getProcessor to retrieve the ImageProcessor with it. Does no action with respect to the ImagePlus (if any)
()
| 1808 | * Call getProcessor to retrieve the ImageProcessor with it. |
| 1809 | * Does no action with respect to the ImagePlus (if any) */ |
| 1810 | public void draw() { |
| 1811 | //IJ.log("draw(); plotDrawn="+plotDrawn); |
| 1812 | if (plotDrawn) return; |
| 1813 | getInitialMinAndMax(); |
| 1814 | pp.frame.setFont(nonNullFont(pp.frame.getFont(), currentFont)); //make sure we have a number font for calculating the margins |
| 1815 | getBlankProcessor(); |
| 1816 | drawContents(ip); |
| 1817 | } |
| 1818 | |
| 1819 | /** Freezes or unfreezes the plot. In the frozen state, the plot cannot be resized or updated, |
| 1820 | * and the Plot class does no modifications to the ImageProcessor. |
no test coverage detected