EasyManuals Logo
Home>Citizen>Printer>CL-S521

Citizen CL-S521 Programming Manual

Citizen CL-S521
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
Page #84 background imageLoading...
Page #84 background image
CITIZEN Android Label Print SDK Programming Manual
84
2.3.20 fillPolygon method
Syntax
int fillPolygon (int[] x, int[] y, int pattern)
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
pattern
[IN]
Shaded pattern
CLS_SHADED_PTN_0 Shaded pattern 000
CLS_SHADED_PTN_1 Shaded pattern 001
CLS_SHADED_PTN_2 Shaded pattern 002
CLS_SHADED_PTN_3 Shaded pattern 003
CLS_SHADED_PTN_4 Shaded pattern 004
CLS_SHADED_PTN_5 Shaded pattern 005
CLS_SHADED_PTN_6 Shaded pattern 006
CLS_SHADED_PTN_7 Shaded pattern 007
CLS_SHADED_PTN_8 Shaded pattern 008
CLS_SHADED_PTN_9 Shaded pattern 009
CLS_SHADED_PTN_10 Shaded pattern 010
CLS_SHADED_PTN_11 Shaded pattern 011
Description
Draws a closed polygon defined by arrays of x and y coordinates, with the specified shaded pattern.
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.fillPolygon(x, y, LabelConst.CLS_SHADED_PTN_3);
// Draw a parallelogram

Table of Contents

Other manuals for Citizen CL-S521

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Citizen CL-S521 and is the answer not in the manual?

Citizen CL-S521 Specifications

General IconGeneral
Print technologyDirect thermal
Maximum resolution203 DPI
PC connectedYes
Standard interfacesUSB 1.1, Serial
Optional connectivityEthernet, Serial (RS-232)
USB 1.1 ports quantity1
Connectivity technologyWired
Flash memory4 MB
Internal memory16 MB
Compatible operating systemsWindows 7/XP/2003/2008/Vista
Form factorDesktop
Core diameter25 mm
Media thickness0.0635 - 0.254 mm
Maximum media length1625.6 mm
Maximum roll diameter125 mm
Supported paper width12.5 - 118.1 mm
Media thickness (imperial)0.0025 - 0.01 \
Supported paper width (imperial)0.50 - 4.65 \
Product colorGray
Housing materialMetal, Plastic
Weight and Dimensions IconWeight and Dimensions
Depth289 mm
Width231 mm
Height183 mm
Weight3600 g

Related product manuals