RoundRect

Rounded rectangle

Choose the 说明: 说明: 说明: 说明: 圆角矩形-2.jpgicon from Basic Graphs in the control bar, move the cursor to editing area, and the cursor will become a cross.

Click the starting position where the graph will be placed, drag the cursor when pressing the mouse key.  At this moment the system will automatically draw an area along the track of the cursor. Then, click left or right mouse key to complete drawing of rectangle.

To change the size of the rounded 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 rounded rectangle; release the left mouse button when it reaches the appropriate location. By now a required rounded rectangular box is drawn.

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

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

 说明: 说明: 说明: 说明: 说明: 说明: 说明: 20090522103113602111111111: Change the width and height of the rounded rectangle

After the above steps, the transparency, line type, line width, line color and fill pattern of the rounded rectangle will be set by the system default. The engineer can modify these properties to meet the needs of the project. Move the mouse on it, double click the left button; or select the rounded rectangle first, and then click the Property button说明: 说明: 说明: 说明: 说明: 说明: 说明: 4-25-1.jpgin the toolbar. The properties of the rectangle will pop up, as shown in Figure 4-31

ScreenShot00581.jpg

Figure 4-31    Rectangle properties dialog

 

Radius of X curve: Radian of the four corners in X direction.

Radius of Y curve: Radian of the four corners in Y direction.  

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