forked from processing/processing-web-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathendRaw.xml
More file actions
55 lines (38 loc) · 894 Bytes
/
Copy pathendRaw.xml
File metadata and controls
55 lines (38 loc) · 894 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<root>
<name>endRaw()</name>
<category>Output</category>
<subcategory>Files</subcategory>
<usage>Application</usage>
<example>
<image></image>
<code><![CDATA[
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();
}
}
]]></code>
</example>
<description><![CDATA[Complement to <b>beginRaw()</b>; they must always be used together. See the <a href="http://www.processing.org/reference/beginRaw_.html"><b>beginRaw()</b></a> reference for details.]]></description>
<syntax><![CDATA[
endRaw()
]]></syntax>
<returns></returns>
<related>
beginRaw()
</related>
<availability>1.0</availability>
<type>Function</type>
<partof>Core</partof>
<level>Extended</level>
</root>