MCPcopy Index your code
hub / github.com/processing/processing / paintIcon

Method paintIcon

app/src/processing/app/ui/Toolkit.java:574–581  ·  view source on GitHub ↗
(Component c, Graphics g, int x, int y)

Source from the content-addressed store, hash-verified

572 }
573
574 @Override
575 public synchronized void paintIcon(Component c, Graphics g, int x, int y) {
576 ImageObserver imageObserver = getImageObserver();
577 if (imageObserver == null) {
578 imageObserver = c;
579 }
580 g.drawImage(getImage(), x, y, getIconWidth(), getIconHeight(), imageObserver);
581 }
582 };
583 return outgoing;
584 }

Callers

nothing calls this directly

Calls 3

getIconWidthMethod · 0.95
getIconHeightMethod · 0.95
getImageMethod · 0.45

Tested by

no test coverage detected