arc Element

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.

Syntax

<arc id="objectId" x="xPosition"y="yPosition" [closed="isColsed"]
          radius="arcRadius" [secondRadius="ellipseSecondRadius"]
          [startAngle="arcStartAngle"] [endAngle="arcEndAngle"]
          [lineStyle="lineStyleId"][fillStyle="fillStyleId"]
          [fillTransform="transform"]
/>

Attributes

Name

Description

Value type

Optional

Default Value

id

Object identifier, which must be unique among all the objects described in the XML file.

id

no

-

x

Absolute x position of the center (in pixels or twips)

coordinate

no

-

y

Absolute y position of the center (in pixels or twips)

coordinate

no

-

radius

Radius of the arc (in pixels or twips)

coordinate

no

-

secondRadius

Second radius for ellipse (in pixels or twips)

coordinate

yes

-

startAngle

Start angle for arc (in degrees)

float

yes

0

endAngle

End angle for arc (in degrees)

float

yes

360

closed

If true, arc is closed

boolean

yes

false

lineStyle

Line style element id (from styles collection)

string

yes

-

fillStyle

Fill style element id (from styles collection)

string

yes

-

fillTransform

Transforms shape fill style (rotate, scale, move, skew) using using script-style transformation notation.

transform

yes

-

Parent Elements

objects collection.

See Also

XML Schema Reference, objects collection.