Answers for "option in textfont() code.org"

0

option in textfont() code.org

1// Various fonts
textSize(18);
text("Hello World", 100, 75);
textFont("Arial"); 
// Same as default font
text("Hello World", 100, 125);
textFont("Georgia");
text("Hello World", 100, 175);
textFont("Times New Roman");
text("Hello World", 100, 225);
textFont("Courier New");
text("Hello World", 100, 275);
Posted by: Guest on December-12-2020

Browse Popular Code Answers by Language