⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 words.pde

📁 This is processing for java examples.
💻 PDE
字号:
/** * Words.  *  * The text() function is used for writing words to the screen.  */int x = 30;PFont fontA;  void setup() {  size(200, 200);  background(102);  // Load the font. Fonts must be placed within the data   // directory of your sketch. Use Tools > Create Font   // to create a distributable bitmap font.   // For vector fonts, use the createFont() function.   fontA = loadFont("Ziggurat-HTF-Black-32.vlw");  // Set the font and its size (in units of pixels)  textFont(fontA, 32);  // Only draw once  noLoop();}void draw() {  // Use fill() to change the value or color of the text  fill(0);  text("ichi", x, 60);  fill(51);  text("ni", x, 95);  fill(204);  text("san", x, 130);  fill(255);  text("shi", x, 165);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -