widthheight.pde

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

PDE
17
字号
/** * Width and Height.  *  * The 'width' and 'height' variables contain the width and height  * of the display window as defined in the size() function.  */ size(200, 200);background(127);noStroke();for(int i=0; i<height; i+=20) {  fill(0);  rect(0, i, width, 10);  fill(255);  rect(i, 0, 10, height);}

⌨️ 快捷键说明

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