Drawrect Method - Citizen CL-S700 Programming Manual

Android label print sdk
Hide thumbs Also See for CL-S700:
Table of Contents

Advertisement

2.3.15 drawRect method

Syntax
int drawRect (int x, int y, int width, int height, int thickness)
Parameters
Parameter
x
y
width
height
thickness
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
codes.
Example
design.drawRect(20, 30, 180, 280, 10);
[IN/OUT] Description
[IN]
Start position
( X-coordinate)
[IN]
Start position
(Y -coordinate)
[IN]
Box width
[IN]
Box height
[IN]
Line width
CITIZEN Android Label Print SDK — Programming Manual
Setting range
0000 - 9999
* The origin is at bottom-left.(0, 0)
0000 - 9999
0000 - 9999
79
"2.1 Return
value" for the error

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents