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

Method getLibImage

app/src/processing/app/ui/Toolkit.java:575–578  ·  view source on GitHub ↗

Return an Image object from inside the Processing 'lib' folder. Moved here so that Base can stay headless.

(String filename)

Source from the content-addressed store, hash-verified

573 * Moved here so that Base can stay headless.
574 */
575 static public Image getLibImage(String filename) {
576 ImageIcon icon = getLibIcon(filename);
577 return (icon == null) ? null : icon.getImage();
578 }
579
580
581 /**

Callers 1

setIconMethod · 0.95

Calls 2

getLibIconMethod · 0.95
getImageMethod · 0.45

Tested by

no test coverage detected