MCPcopy Create free account
hub / github.com/benfry/processing4 / paintIcon

Method paintIcon

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

Source from the content-addressed store, hash-verified

638 }
639
640 @Override
641 public synchronized void paintIcon(Component c, Graphics g, int x, int y) {
642 ImageObserver imageObserver = getImageObserver();
643 if (imageObserver == null) {
644 imageObserver = c;
645 }
646 g.drawImage(getImage(), x, y, getIconWidth(), getIconHeight(), imageObserver);
647 }
648 };
649 }
650

Callers 1

drawButtonMethod · 0.80

Calls 3

getIconWidthMethod · 0.95
getIconHeightMethod · 0.95
getImageMethod · 0.45

Tested by

no test coverage detected