Sets the current clip to the rectangle specified by the given coordinates.
(int x, int y, int width, int height)
| 955 | * coordinates. |
| 956 | */ |
| 957 | @Override |
| 958 | public void setClip(int x, int y, int width, int height) { |
| 959 | setClip(new Rectangle(x, y, width, height)); |
| 960 | } |
| 961 | |
| 962 | /** |
| 963 | * Gets the current clipping area. |
no test coverage detected