Rectangle
Select the
Rectangle command in the Draw menu or click the Rectangle command button
in the toolbar button. Move the mouse to the Edit window and then
the cursor will change to a cross; click on the screen to add a rectangle.
To change the size
of the rectangle, select the rectangle first, and then move the mouse to the
eight square green dots which appear in the rectangle. When the mouse cursor
becomes
or
or
, click and hold down the left mouse button to drag the rectangle;
release the left mouse button when it reaches the appropriate location. By now
a required rectangular box is drawn.
: Change the width of
the rectangle
: Change the height of
the rectangle
Change the width and height of the rectangle
After the above
steps, the transparency, line type, line width, line color and fill pattern of
the rectangle will be set by the system default. The engineer can modify these
properties to meet the needs of the project. Move the mouse to the rectangle,
double click the left button; or select the rectangle first, and then click the
Property button
in the toolbar. The properties of the rectangle will pop up, as
shown in Figure 4-29:

Figure 4-29 Rectangle properties dialog
- solid: Fill with the set color and style
- hollow: Styles will be automatically made transparent
You can adjust the properties of the rectangle through the pull-down and fine-tune buttons. SKTOOL configuration software provides up to 15 types of borderline, 10 kinds of borderline width and 21 kinds of fill patterns. As shown in Figure 4-30:

Figure 4-30 An example of a rectangle drawn
Dynamic Color

The colors of border and background can be changed by modifying the values of the corresponding registers. You need to check the corresponding option to enable the dynamic color function.
l Data Type: Set the data type of the register.
l Control Address: Set the address of the register that controls color changes.
l Color Configuration: Multiple values and their corresponding colors can be configured. When the value of the register corresponding to the control address matches one of the configured values, the corresponding color will be displayed. (If the register value does not match any of the configured values, the color set in the configuration will be displayed.)