FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
processing/java/libraries/pdf/examples/OneFrame/OneFrame.pde at master · dimr/processing · GitHub
dimr
processing
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
processing
/
java
/
libraries
/
pdf
/
examples
/
OneFrame
/
OneFrame.pde
Copy path
More file actions
More file actions
Latest commit
History
History
History
23 lines (15 loc) · 370 Bytes
Breadcrumbs
processing
/
java
/
libraries
/
pdf
/
examples
/
OneFrame
/
OneFrame.pde
Copy path
File metadata and controls
23 lines (15 loc) · 370 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
* One Frame.
*
* Saves one PDF with the contents of the display window.
* Because this example uses beginRecord, the image is shown
* on the display window and is saved to the file.
*/
import
processing.pdf.*
;
size
(
600
,
600
);
beginRecord
(
PDF
,
"
line.pdf
"
);
background
(
255
);
stroke
(
0
,
20
);
strokeWeight
(
20.0
);
line
(
200
,
0
,
400
,
height
);
endRecord
();
Back
|
FazBrowse Home
|
New Git URL