Switches to the specified tool, where id = Toolbar.RECTANGLE (0), Toolbar.OVAL (1), etc.
(int id)
| 1770 | /** Switches to the specified tool, where id = Toolbar.RECTANGLE (0), |
| 1771 | Toolbar.OVAL (1), etc. */ |
| 1772 | public static void setTool(int id) { |
| 1773 | Toolbar.getInstance().setTool(id); |
| 1774 | } |
| 1775 | |
| 1776 | /** Switches to the specified tool, where 'name' is "rect", "elliptical", |
| 1777 | "brush", etc. Returns 'false' if the name is not recognized. */ |
no test coverage detected