Rectangle

Rectangle

Select the Rectangle command in the Draw menu or click the Rectangle command button说明: 说明: 说明: 说明: 说明: 说明: 矩形-2.jpg 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 说明: 说明: 说明: 说明: 说明: 说明: 20090522102238822or 说明: 说明: 说明: 说明: 说明: 说明: 20090522102318339or 说明: 说明: 说明: 说明: 说明: 说明: 20090522103113602111111111, 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.

 说明: 说明: 说明: 说明: 说明: 说明: 20090522102238822: Change the width of the rectangle

说明: 说明: 说明: 说明: 说明: 说明: 20090522102318339: Change the height of the rectangle

 说明: 说明: 说明: 说明: 说明: 说明: 20090522103113602111111111 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说明: 说明: 说明: 说明: 说明: 说明: 4-25-1.jpg 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:

说明: 说明: 说明: 说明: 说明: 说明: rectstyle

Figure 4-30    An example of a rectangle drawn

 Dynamic Color

ScreenShot00270.jpg

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.)