EasyManua.ls Logo

Citizen CL-E321

Citizen CL-E321
95 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CITIZEN Android Label Print SDK Programming Manual
83
2.3.19 drawPolygon method
Syntax
int drawPolygon (int[] x, int[] y)
Parameters
Parameter
[IN/OUT]
Description
Setting range
x
[IN]
X points
0000 - 9999
* The origin is at bottom-left.(0, 0)
y
[IN]
Y points
Description
Draws a closed polygon defined by arrays of x and y coordinates. Each pair of (x, y) coordinates
defines a point. The number of elements must match. Returns CLS_E_ILLEGAL(1101) otherwise.
Return value
Returns CLS_SUCCESS(0) on success, an error code otherwise. See "2.1 Return value" for the error
codes.
Example
int[] x = new int[] {100, 200, 250, 150};
int[] y = new int[] {100, 100, 200, 200};
design.drawPolygon(x, y); // Draw a parallelogram

Table of Contents

Other manuals for Citizen CL-E321

Related product manuals