The arc element creates a arc with the defined radius. If secondRadius specified, arc becomese elliptic. If closed is true arc is closed by segment from start arc point to end one.
<arc id="objectId" x="xPosition"y="yPosition" [closed="isColsed"]
radius="arcRadius" [secondRadius="ellipseSecondRadius"]
[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 arc (in pixels or twips) |
no |
- | |
|
secondRadius |
Second radius for ellipse (in pixels or twips) |
yes |
- | |
|
startAngle |
Start angle for arc (in degrees) |
yes |
0 | |
|
endAngle |
End angle for arc (in degrees) |
yes |
360 | |
|
closed |
If true, arc is closed |
yes |
false | |
|
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 |
- |