9.6 drawRect

gc:drawRect(x, y, width, height)

Draws a rectangle at (x, y) with the given pixel width and height. Both width and height must be ≥ 0.

Introduced in platform.apiLevel = '1.0'