preenchimento de formas
void setup(){
size(400,300);
background(250,150,150);
rectMode(CENTER);
fill(150,100,100);
stroke(230,230,230);
rect(75,100,100,50);
//retira o preenchimento
noFill();
rect(200,100,100,50);
fill(150,100,100);
// retira a aresta
noStroke();
rect(320,100,100,50);
translate(0,100);
fill(150);
stroke(100,50,50);
rect(75,100,100,50);
fill(150,50);
stroke(100);
rect(200,100,100,50);
stroke(100,50,50);
fill(150,50,40);
rect(320,100,100,50);
}
To view this content, you need to install Java from java.com
