circle Element

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.

Syntax

<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"]
/>

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 circle (in pixels or twips)

coordinate

no

-

secondRadius

Second radius for ellipse (in pixels or twips)

coordinate

yes

-

width

Width for ring (in pixels or twips)

coordinate

yes

-

secondWidth

Second width for elliptic ring (in pixels or twips)

coordinate

yes

-

startAngle

Start angle for ring sector (in degrees)

float

yes

0

endAngle

End angle for ring sector (in degrees)

float

yes

360

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.