Sets the GenericDialog and Command Finder text scale (0.5 to 3.0).
(double scale)
| 793 | |
| 794 | /** Sets the GenericDialog and Command Finder text scale (0.5 to 3.0). */ |
| 795 | public static void setGuiScale(double scale) { |
| 796 | if (scale>=0.5 && scale<=3.0) { |
| 797 | guiScale = scale; |
| 798 | set(GUI_SCALE, guiScale); |
| 799 | Roi.resetDefaultHandleSize(); |
| 800 | } |
| 801 | } |
| 802 | |
| 803 | /** Returns the GenericDialog and Command Finder text scale. */ |
| 804 | public static double getGuiScale() { |
no test coverage detected