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

Method setClip

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

Sets the current clip to the rectangle specified by the given coordinates.

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

Source from the content-addressed store, hash-verified

955 * coordinates.
956 */
957 @Override
958public 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.

Callers 11

clipMethod · 0.95
drawMethod · 0.80
drawMethod · 0.80
printMethod · 0.80
drawClipMethod · 0.80
drawMethod · 0.80
drawMethod · 0.80
drawMethod · 0.80
drawOn3DMethod · 0.80
appendMethod · 0.80
drawMethod · 0.80

Calls 5

appendMethod · 0.95
drawMethod · 0.95
isClipSetMethod · 0.80
setClipSetMethod · 0.80
cloneMethod · 0.65

Tested by

no test coverage detected