MCPcopy Create free account
hub / github.com/BaseXdb/basex / drawMap

Method drawMap

basex-core/src/main/java/org/basex/gui/view/map/MapView.java:434–438  ·  view source on GitHub ↗

Creates a buffered image for the treemap. @param map image to draw the map on @param rects rectangles to be drawn

(final BufferedImage map, final MapRects rects)

Source from the content-addressed store, hash-verified

432 * @param rects rectangles to be drawn
433 */
434 private void drawMap(final BufferedImage map, final MapRects rects) {
435 final Graphics g = map.getGraphics();
436 BaseXLayout.antiAlias(g);
437 painter.drawRectangles(g, rects);
438 }
439
440 @Override
441 public void mouseMoved(final MouseEvent e) {

Callers 2

refreshMarkMethod · 0.95
calcMethod · 0.95

Calls 2

antiAliasMethod · 0.95
drawRectanglesMethod · 0.80

Tested by

no test coverage detected