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

Method loadImage

app/src/processing/app/Mode.java:753–759  ·  view source on GitHub ↗

Get an image object from the mode folder. Or when prefixed with /lib, load it from the main /lib folder.

(String filename)

Source from the content-addressed store, hash-verified

751 * Or when prefixed with /lib, load it from the main /lib folder.
752 */
753 public Image loadImage(String filename) {
754 ImageIcon icon = loadIcon(filename);
755 if (icon != null) {
756 return icon.getImage();
757 }
758 return null;
759 }
760
761
762 public Image loadImageX(String filename) {

Callers 3

loadImageXMethod · 0.95
updateModeMethod · 0.95
loadIconsMethod · 0.95

Calls 2

loadIconMethod · 0.95
getImageMethod · 0.45

Tested by

no test coverage detected