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

Method getImage

core/src/processing/awt/PImageAWT.java:108–111  ·  view source on GitHub ↗

Use the getNative() method instead, which allows library interfaces to be written in a cross-platform fashion for desktop, Android, and others. This is still included for PGraphics objects, which may need the image.

()

Source from the content-addressed store, hash-verified

106 * This is still included for PGraphics objects, which may need the image.
107 */
108 @Override
109 public Image getImage() { // ignore
110 return (Image) getNative();
111 }
112
113
114 /**

Callers 2

setProcessingIconMethod · 0.45
loadImageMethod · 0.45

Calls 1

getNativeMethod · 0.95

Tested by

no test coverage detected