The square element creates a square with the attributes described below.
<square id="objectId" x="xPosition" y="yPosition" size="sideSize"
[lineStyle="lineStyleId"] [fillStyle="fillStyleId"] [fillTransform="transform"]
/>
Name |
Description |
Value type |
Optional |
Default Value |
| id |
Object identifier |
no |
- |
|
| x |
Absolute x position (in pixels or twips) |
no |
- |
|
| y |
Absolute y position (in pixels or twips) |
no |
- |
|
| size |
Square size (in pixels or twips) |
no |
- |
|
| lineStyle |
Line style element id (from styles collection) |
yes |
- |
|
| fillStyle |
Fill style element id (from styles collection) |
yes |
- |
|
|
fillTransform |
Transforms shape fill style (rotate, scale, move, skew) using using script-style transformation notation. |
yes |
- |