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
Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.