Programming for Kids - ZedLX

The Easiest Way to Learn Computer Programming, for Free

Drawing on Images and Auto-assign [2/12]

A new image is initially fully transparent.

The getter function .fill from type image returns an image filled with the given color.

A getter like .fill cannot modify the variable it is acting upon ('canvas').

The only way to change the variable is to employ the assignment statement.

Loading...