2.3.15 drawRect method
Syntax
int drawRect (int x, int y, int width, int height, int thickness)
Parameters
Description
Draws a box of the specified width, height and line width. Thicker line width expands the line inward
and doesn't affect the outline size.
Return value
Returns CLS_SUCCESS(0) on success, an error code otherwise. See "2.1 Return value" for the error
codes.
Example
design.drawRect(20, 30, 180, 280, 10);