201708-08 noFill()不填充 NamenoFill()不填充 Examples rect(15, 10, 55, 55); noFill(); rect(30, 20, 55, 55);DescriptionDisables filling geometry. If both noStroke() and noF.... Read More >
201708-08 fill()填充颜色 Namefill()填充颜色 Examples fill(153); rect(30, 20, 55, 55); fill(204, 102, 0); rect(30, 20, 55, 55);DescriptionSets the color used to fil.... Read More >
201708-08 colorMode()颜色模式 NamecolorMode()颜色模式 Examples noStroke(); colorMode(RGB, 100); for (int i = 0; i < 100; i++) { for (int j = 0; j < 100; j++) { stro.... Read More >
201708-08 clear()清空 Nameclear()清空 ExamplesPGraphics pg; void setup() { size(200, 200); pg = createGraphics(100, 100); } void draw() { background(204); pg.beginDraw(); pg.stroke(0, 102, 153); pg.line(0, 0.... Read More >
201708-08 background()背景 Namebackground()背景 Examples background(51); background(255, 204, 0); PImage img; img = loadImage("laDefense.jpg"); background(.... Read More >