![Citizen CL-E300 Programming Manual Download Page 79](http://html1.mh-extra.com/html/citizen/cl-e300/cl-e300_programming-manual_2610002079.webp)
CITIZEN Android Label Print SDK
—
Programming Manual
79
2.3.15 drawRect method
Syntax
int drawRect (int x, int y, int width, int height, int thickness)
Parameters
Parameter
[IN/OUT] Description
Setting range
x
[IN]
Start position
(
X-coordinate)
0000 - 9999
* The origin is at bottom-left.(0, 0)
y
[IN]
Start position
(Y
-coordinate)
width
[IN]
Box width
0000 - 9999
height
[IN]
Box height
thickness
[IN]
Line width
0000 - 9999
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 "
" for the error
codes.
Example
design.drawRect(20, 30, 180, 280, 10);