MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / drawPoint

Method drawPoint

ij/src/main/java/ij/gui/Toolbar.java:518–524  ·  view source on GitHub ↗
(int x, int y)

Source from the content-addressed store, hash-verified

516 }
517
518 void drawPoint(int x, int y) {
519 g.setColor(toolColor);
520 m(x-3,y); d(x+3,y);
521 m(x,y-3); d(x,y+3);
522 g.setColor(Roi.getColor());
523 dot(x,y); dot(x-1,y-1);
524 }
525
526 void drawIcon(Graphics g, int tool, int x, int y) {
527 if (null==g) return;

Callers 1

drawButtonMethod · 0.95

Calls 5

mMethod · 0.95
dMethod · 0.95
getColorMethod · 0.95
dotMethod · 0.95
setColorMethod · 0.65

Tested by

no test coverage detected