Element property ‘Absolute movement’
The properties contain IEC variables for controlling the position of the element dynamically. The reference point is the upper left corner of the element. In runtime mode, the entire element is moved.
Movement | ||
X | Variable (numeric data type). Defines the X position (in pixels). Example: Increasing this value in runtime mode moves the element to the right. |
|
Y | Variable (numeric data type). Defines the Y position (in pixels). Example: Increasing this value in runtime mode moves the element downwards. |
|
Rotation | Variable (numeric data type). Defines the angle of rotation (in pixels). Example: The midpoint of the element rotates at the Center point. This rotation point is shown as the in runtime mode, the alignment of the element remains the same with respect to the coordinate system of the visualization. Increasing the value rotates the element to the right. |
|
Scaling | Variable (integer data type). Causes centric stretching. Example: The reference point is the Center property. The value |
|
Internal rotation | Variable (numeric data type). Defines the angle of rotation (in pixels). Example: In runtime mode, the element rotates about the point of rotation specified in Center according to the value of the variable. In addition, the alignment of the element rotates according to the coordinate system of the visualization. Increasing the value in the code rotates clockwise. The rotation point is shown as the Note: If a static angle of rotation is specified in the property , then the static angle of rotation is added to the variable angle of rotation (offset) when the visualization is executed. |
|
Use REAL values | Note: Only available if the device supports the use of REAL coordinates.
The option allows for the individual fine-tuning of drawing the element, for example for the visualization of a smoother rotation. Tip: If a horizontal or vertical line is drawn blurry on a specific visualization platform, then this can be corrected by an offset of 0.5px in the direction of the line thickness. |
Note
You can link the variables to a unit conversion.
See also
- Unit conversion: cds_unit_conversion