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

Method beginRecord

core/src/processing/core/PApplet.java:11134–11139  ·  view source on GitHub ↗

( begin auto-generated from beginRecord.xml ) Opens a new file and all subsequent drawing functions are echoed to this file as well as the display window. The beginRecord() function requires two parameters, the first is the renderer and the second is the file name. This function is always us

(String renderer, String filename)

Source from the content-addressed store, hash-verified

11132 * @see PApplet#endRecord()
11133 */
11134 public PGraphics beginRecord(String renderer, String filename) {
11135 filename = insertFrame(filename);
11136 PGraphics rec = createGraphics(width, height, renderer, filename);
11137 beginRecord(rec);
11138 return rec;
11139 }
11140
11141
11142 /**

Callers

nothing calls this directly

Calls 3

insertFrameMethod · 0.95
createGraphicsMethod · 0.95
beginDrawMethod · 0.45

Tested by

no test coverage detected