Omron NB Series Operation Manual page 314

Nb-series programmable terminals
Hide thumbs Also See for NB Series:
Table of Contents

Advertisement

Parameter Name
ForeColor
(Foreground color)
BackColor
(Background color)
(c) Point Stuct "Point"
(1) Drawing Function
(a) Rectangle "DrawRect (x, y, w, h, pen, brh)"
Parameter
x
y
w
h
pen
brh
(b) Rounded Rectangle "DrawRndRect (x, y, w, h, radius, pen, brh)"
Parameter
x
y
w
h
radius
pen
brh
NB-series Programmable Terminals NB-Designer Operation Manual(V106)
Value
BFS_CONGRDT_FLD
TRT
BFS_CENGRDT_FETC
BFS_CENGRDT_FCTE
0~65535
0~65535
The parameter of point stuct is simpler: X represents the X-axis coordinate and y
represents the Y-axis coordinate for the point.
The description of the parameter is as follows:
Type
Int.
X-axis coordinate of the upper-left corner of the rectangle (Unit: pixel)
Int.
Y-axis coordinate of the upper-left corner of the rectangle (Unit: pixel)
Int.
Rectangle width (Unit: pixel)
Int.
Rectangle height (Unit: pixel)
PenParam
Rectangular-border pen
BrushParam
Rectangular filling brush
The description of the parameter is as follows:
Type
Int.
X-axis coordinate of the upper-left corner of the rectangle (Unit: pixel)
Int.
Y-axis coordinate of the upper-left corner of the rectangle (Unit: pixel)
Int.
Rectangle width (Unit: pixel)
Int.
Rectangle height (Unit: pixel)
Int.
Rounded radius (Unit: pixel)
PenParam
Rounded-rectangle-border brush
BrushParam
Rounded-rectangle filling brush
3 Functions of NB-Designer
Descriptions
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
HMI screen.
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
HMI screen.
Descriptions
Descriptions
3
3-273

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents