mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
printArray() added to type examples
This commit is contained in:
@@ -12,7 +12,7 @@ void setup() {
|
||||
background(0);
|
||||
|
||||
// Create the font
|
||||
println(PFont.list());
|
||||
printArray(PFont.list());
|
||||
f = createFont("Georgia", 24);
|
||||
textFont(f);
|
||||
textAlign(CENTER, CENTER);
|
||||
|
||||
@@ -12,7 +12,7 @@ void setup() {
|
||||
size(640, 360);
|
||||
|
||||
// Create the font
|
||||
println(PFont.list());
|
||||
printArray(PFont.list());
|
||||
f = createFont("Georgia", 24);
|
||||
textFont(f);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user