background()
Sets the background color of the canvas
Last updated
Sets the background color of the canvas
Last updated
variable name of a loaded image (see ) to be used as an entire background across the canvas
Changes the color of the background of the entire canvas. Input can either be the name of an HTML color, a value 0 - 255 for greyscale values with 0 being black and 255 being white. Input can also be three numbers for the RGB or HSB color scale - see . Finally, input can be the name of a loaded image, which will be stretched to cover the entire canvs.
Find these documents helpful? Let the people who made them help your child learn to code at !
We'd love to hear your Feedback/Comments .