MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / clipRect

Method clipRect

src/org/jibble/epsgraphics/EpsGraphics2D.java:948–951  ·  view source on GitHub ↗

Intersects the current clip with the specified rectangle.

(int x, int y, int width, int height)

Source from the content-addressed store, hash-verified

946 * Intersects the current clip with the specified rectangle.
947 */
948 @Override
949public void clipRect(int x, int y, int width, int height) {
950 clip(new Rectangle(x, y, width, height));
951 }
952
953 /**
954 * Sets the current clip to the rectangle specified by the given

Callers 9

drawClipMethod · 0.80
drawMethod · 0.80
paintDrawableListMethod · 0.80
drawPlotMethod · 0.80
drawMethod · 0.80
drawMethod · 0.80
drawMethod · 0.80
drawMethod · 0.80
createMethod · 0.80

Calls 1

clipMethod · 0.95

Tested by

no test coverage detected