Name

endRaw()

Description

Complement to beginRaw(); they must always be used together. See the beginRaw() reference for details.

Examples

  • import processing.pdf.*;
    
    void setup() {
      size(400, 400);
      beginRaw(PDF, "raw.pdf");
    }
    
    void draw() {
      line(pmouseX, pmouseY, mouseX, mouseY);
    }
    
    void keyPressed() {
      if (key == ' ') {
        endRaw();
        exit();
      }
    }
    

Syntax

  • endRaw()

Return

  • void

Related