clearRect

fun clearRect(x: Float, y: Float, width: Float, height: Float): Boolean

Clear command, to clear the given square from the display buffer

NOTE: THE CLEAR RECT COMMAND IS ALWAYS PUSHED TO THE FRONT OF THE RENDERING QUEUE

Return

true if the given information is valid

Parameters

x

left pixel coordinate

y

top pixel coordinate

width

the width of the required square

height

the height of the required square