Table. List of additional properties/attributes of the primitive "Elementary figure (ElFigure)"
| Identifier |
Name |
Number |
Value
|
| lineWdth |
Line:width |
20 |
Line width.
|
| lineClr |
Line: color |
21 |
Color name, see details.
|
| lineStyle |
Line: style |
22 |
Line style: solid, dashed, dotted.
|
| bordWdth |
Border: width |
23 |
Border width of the line. Zero width indicates the absence of the border.
|
| bordClr |
Border: color |
24 |
Border color, see details.
|
| fillColor |
Fill: color |
25 |
Fill color, see details.
|
| fillImg |
Fill: image |
26 |
Image name, see details.
|
| orient |
Orientation angle |
28 |
Rotation angle of the widget content.
|
| mirror |
Mirroring |
29 |
Mirroring the widget content.
|
| elLst |
Elements list |
27 |
List of the graphic elements in the format:
- Line. General form of the entry in the list, for static and dynamic parameters (may be mixed):
- "line:({x}|{y}):({x}|{y})[:{width}[:{color}[:{bord_w}[:{bord_clr}[:{line_stl}]]]]]"
- "line:{p1}:{p2}[:w{n}[:c{n}[:w{n}[:c{n}[:s{n}]]]]]"
- Arc. General form of the entry in the list, for static and dynamic parameters (may be mixed):
- "arc:({x}|{y}):({x}|{y}):({x}|{y}):({x}|{y}):({x}|{y})[:{width}[:{color}[:{bord_w}[:{bord_clr}[:{line_stl}]]]]]"
- "arc:{p1}:{p2}:{p3}:{p4}:{p5}[:w{n}[:c{n}[:w{n}[:c{n}[:s{n}]]]]]"
-
- p1, p2 — start and end points of the elliptic arc, respectively;
- p3 — center of the arc;
- p4 — first radius;
- p5 — second radius.
- Bézier curve. General form of the entry in the list, for static and dynamic parameters (may be mixed):
- "bezier:({x}|{y}):({x}|{y}):({x}|{y}):({x}|{y})[:{width}[:{color}[:{bord_w}[:{bord_clr}[:{line_stl}]]]]]"
- "bezier:{p1}:{p2}:{p3}:{p4}[:w{n}[:c{n}[:w{n}[:c{n}[:s{n}]]]]]"
- Fill. General form of the entry in the list, for static and dynamic parameters (may be mixed):
- "fill:({x}|{y}):({x}|{y}):...:({x}|{y})[:{fill_clr}[:{fill_img}]]"
- "fill:{p1}:{p2}:...:{pN}[:c{n}[:i{n}]]"
Where:
- x, y — direct point (x,y), coordinates in pixels with floating point;
- p1 ... pN — dynamic point 1...N;
- width, bord_w — direct width of the line and border in pixels with floating point;
- w{n} — dynamic width 'n';
- color, bord_clr, fill_clr — direct color of the line, border and fill, see details;
- c{n} — dynamic color 'n';
- line_stl — direct line style: 0-Solid, 1-Dashed, 2-Dotted;
- s{n} — dynamic style 'n';
- fill_img — direct fill image, see details.
- i{n} — dynamic fill image 'n'.
For example:
- line:(50|25):(90.5|25):2:yellow:3:green:2
- arc:(25|50):(25|50):1:4:(25|50)::#000000-0
- fill:(25|50):(25|50):c2:i2
- fill:(50|25):(90.5|25):(90|50):(50|50):#d3d3d3:h_31
|
| Attributes of each point from the graphic figures list elLst
|
| p{n}x |
Point {n}:x |
30+n*6 |
Coordinate 'x' of the point n.
|
| p{n}y |
Point {n}:y |
30+n*6+1 |
Coordinate 'y' of the point n.
|
| w{n} |
Width {n} |
30+n*6+2 |
Width n.
|
| с{n} |
Color {n} |
30+n*6+3 |
Color n, see details.
|
| i{n} |
Image {n} |
30+n*6+4 |
Image n, see details.
|
| s{n} |
Style {n} |
30+n*6+5 |
Style n.
|