MCPcopy Index your code
hub / github.com/benfry/processing4 / loadImage

Method loadImage

app/src/processing/app/Mode.java:638–644  ·  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

636 * Or when prefixed with /lib, load it from the main /lib folder.
637 */
638 public Image loadImage(String filename) {
639 ImageIcon icon = loadIcon(filename);
640 if (icon != null) {
641 return icon.getImage();
642 }
643 return null;
644 }
645
646
647 public Image loadImageX(String filename) {

Callers 1

loadImageXMethod · 0.95

Calls 2

loadIconMethod · 0.95
getImageMethod · 0.45

Tested by

no test coverage detected