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

Method clone

core/src/processing/core/PImage.java:520–523  ·  view source on GitHub ↗

Duplicate an image, returns new PImage object. The pixels[] array for the new object will be unique and recopied from the source image. This is implemented as an override of Object.clone(). We recommend using get() instead, because it prevents you from needing to catch the CloneNotSupportedException

()

Source from the content-addressed store, hash-verified

518 * CloneNotSupportedException, and from doing a cast from the result.
519 */
520 @Override
521 public Object clone() throws CloneNotSupportedException { // ignore
522 return get();
523 }
524
525
526 /**

Callers 1

SettingsMethod · 0.45

Calls 1

getMethod · 0.95

Tested by

no test coverage detected