clear

Clear is provided as a helper function to make it easier to clear sections of an Image. For more advanced clearing, you should use the 'clear' or 'stencil' blend mode, which will allow you to clear using the standard drawing functions.

.clear()

Clears the whole of this Image, leaving all pixels set to a transparent black colour.

.clear( x, y, width, height )

Clears a rectangle on this Image, just the rectangle which is specified.