3 Functions of NB-Designer
3-280
NB-series Programmable Terminals NB-Designer Operation Manual(V106)
(c) Point Structure “Point”
The parameter of point structure is simpler: x represents the X-axis coordinate and y
represents the Y-axis coordinate for the point.
(1) Drawing Function
(a) Rectangle “DrawRect (x, y, w, h, pen, brh)”
The description of the parameter is as follows:
(b) Rounded Rectangle “DrawRndRect (x, y, w, h, radius, pen, brh)”
The description of the parameter is as follows:
BFS_CONGRDT_FLD
TRT
BFS_CENGRDT_FETC
BFS_CENGRDT_FCTE
ForeColor
(Pattern color)
0~65535
It is recommended to use Macro RGB (r. g. b) to set the color,
and the range for r, g and b is 0~255. The system will convert
the value of RGB (r, g, b) according to the color parameters of
PT screen.
BackColor
(Background color)
0~65535
It is recommended to use Macro RGB (r. g. b) to set the color,
and the range for r, g and b is 0~255. The system will convert
the value of RGB (r, g, b) according to the color parameters of
PT screen.
Parameter
Type
Descriptions
x
Int.
X-axis coordinate of the upper-left corner of the rectangle (Unit: pixel)
y
Int.
Y-axis coordinate of the upper-left corner of the rectangle (Unit: pixel)
w
Int.
Rectangle width (Unit: pixel)
h
Int.
Rectangle height (Unit: pixel)
pen
PenParam
Rectangular-border pen
brh
BrushParam
Rectangular filling brush
Parameter
Type
Descriptions
x
Int.
X-axis coordinate of the upper-left corner of the rectangle (Unit: pixel)
y
Int.
Y-axis coordinate of the upper-left corner of the rectangle (Unit: pixel)
w
Int.
Rectangle width (Unit: pixel)
h
Int.
Rectangle height (Unit: pixel)
radius
Int.
Rounded radius (Unit: pixel)
pen
PenParam
Rounded-rectangle-border brush
brh
BrushParam
Rounded-rectangle filling brush
Parameter Name
Value
Descriptions
Summary of Contents for NB10W-TW01B
Page 4: ......
Page 10: ...Terminology 6 NB series Programmable Terminals NB Designer Operation Manual V106 ...
Page 528: ...8 Web Interface 8 10 NB series Programmable Terminals NB Designer Operation Manual V106 ...
Page 544: ...Appendices A 16 NB series Programmable Terminals NB Designer Operation Manual V106 ...
Page 546: ...Revision 2 NB series Programmable Terminals NB Designer Operation Manual V106 ...
Page 547: ......