The circle element creates a circle with the defined radius. If secondRadius specified, circle may be elliptic. If width specified it becomes a ring, if secondWidth specified internal circle of a ring becomes ellipse. at the defined coordinates.
<circle id="objectId" x="xPosition"y="yPosition"
radius="circleRadius" [secondRadius="ellipseSecondRadius"]
[width="ringWidth"] [ringWidth="ellipseSecondWidth"]
[startAngle="arcStartAngle"] [endAngle="arcEndAngle"]
[lineStyle="lineStyleId"][fillStyle="fillStyleId"]
[fillTransform="transform"]
/>
Name |
Description |
Value type |
Optional |
Default Value |
|
id |
Object identifier, which must be unique among all the objects described in the XML file. |
no |
- | |
|
x |
Absolute x position of the center (in pixels or twips) |
no |
- | |
|
y |
Absolute y position of the center (in pixels or twips) |
no |
- | |
|
radius |
Radius of the circle (in pixels or twips) |
no |
- | |
|
secondRadius |
Second radius for ellipse (in pixels or twips) |
yes |
- | |
|
width |
Width for ring (in pixels or twips) |
yes |
- | |
|
secondWidth |
Second width for elliptic ring (in pixels or twips) |
yes |
- | |
|
startAngle |
Start angle for ring sector (in degrees) |
yes |
0 | |
|
endAngle |
End angle for ring sector (in degrees) |
yes |
360 | |
|
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 |
- |