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

Method fillRect

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

Fills a rectangle with top-left corner placed at (x,y).

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

Source from the content-addressed store, hash-verified

1022 * Fills a rectangle with top-left corner placed at (x,y).
1023 */
1024 @Override
1025public void fillRect(int x, int y, int width, int height) {
1026 Shape shape = new Rectangle(x, y, width, height);
1027 draw(shape, "fill"); //$NON-NLS-1$
1028 }
1029
1030 /**
1031 * Draws a rectangle with top-left corner placed at (x,y).

Callers 15

drawImageMethod · 0.95
drawMethod · 0.45
drawMethod · 0.45
updateBufferedImageMethod · 0.45
getImageMethod · 0.45
paintComponentMethod · 0.45
drawMethod · 0.45
drawMethod · 0.45
updateImageMethod · 0.45
paintFirstMethod · 0.45
paintIconMethod · 0.45
drawPointMethod · 0.45

Calls 1

drawMethod · 0.95

Tested by

no test coverage detected