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

Method clone

core/src/processing/core/PImage.java:475–478  ·  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

473 * CloneNotSupportedException, and from doing a cast from the result.
474 */
475 @Override
476 public Object clone() throws CloneNotSupportedException { // ignore
477 return get();
478 }
479
480
481 /**

Callers

nothing calls this directly

Calls 1

getMethod · 0.95

Tested by

no test coverage detected