VOOZH about

URL: https://processing.org/reference/endrecord_

⇱ endRecord() / Reference / Processing.org


Reference+
DocumentationReferenceOutputFiles

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