fill() - Version: 106

Description

Sets the color used to fill shapes. For example, if you run fill(204, 102, 0), all subsequent shapes will be filled with orange.

The value for the parameter “gray” must be less than or equal to 255.

Syntax


fill(gray)


fill(value1, value2, value3)


Parameters

x – The x-coordinate of the ellipse

y – The y-coordinate of the ellipse

width – width of the ellipse

height – height of the ellipse

Returns

none

Related

none




Edit History