Ult
Featured
Urt
Ll Lr

Ult
Log in
Urt
Ll Lr


Ult
nofill()
Urt

Description

Disables filling geometry. If both noStroke() is called, nothing will be drawn inside the shape.

Syntax


noFill()


Parameters

none

Returns

none

Related

fill()

Example

void setup()
{
background(0,0,0);// set the screen black
noFill();
}

void loop()
{
gettouch(); //stores mouse coordinates in mouseX and mouseY
rect(mouseX, mouseY, 20,20); //draw a rectangle at point (40,40), width = 40, height = 40
delay(20); //delay 1 second
}




Edit History
Ll Lr


Get in touch if you have any questions, or ideas for something you want me to build.