creating.pde

来自「This is processing for java examples.」· PDE 代码 · 共 27 行

PDE
27
字号
/** * Creating Colors (Homage to Albers).  *  * Creating variables for colors that may be referred to  * in the program by their name, rather than a number.  */size(200, 200);noStroke();color inside = color(204, 102, 0);color middle = color(204, 153, 0);color outside = color(153, 51, 0);// These statements are equivalent to the statements above.// Programmers may use the format they prefer.//color inside = #CC6600;//color middle = #CC9900;//color outside = #993300;fill(outside);rect(0, 0, 200, 200);fill(middle);rect(40, 60, 120, 120);fill(inside);rect(60, 90, 80, 80);

⌨️ 快捷键说明

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