Name

endRecord()

Description

Stops the recording process started by beginRecord() and closes the file.

Examples

  • import processing.pdf.*;
    
    void setup() {
      size(400, 400);
      beginRecord(PDF, "everything.pdf");
    }
    
    void draw() {
      ellipse(mouseX, mouseY, 10, 10);
    }
    
    void mousePressed() {
      endRecord();
      exit();
    } 
    

Syntax

  • endRecord()

Return

  • void