oval Element

The oval element creates an oval with the attributes described below.

Syntax

<oval id="objectId" x="xPosition" y="yPosition"
         width="boundingBoxWidth" height="boundingBoxHeight"
         [lineStyle="lineStyleId"] [fillStyle="fillStyleId"]
/>

Attributes

Name

Description

Value type

Optional

Default Value

id

Object identifier

id

no

-

x

Absolute x position of the rectangle to which the oval is inscribed (in pixels or twips)

coordinate

no

-

y

Absolute y position of the rectangle to which the oval is inscribed (in pixels or twips)

coordinate

no

-

width

Width of the rectangle to which the oval will be inscribed (in pixels or twips).

coordinate

no

-

height

Height of the rectangle to which the oval will be inscribed (in pixels or twips).

coordinate

no

-

lineStyle

Line style element id (from styles collection)

string

yes

-

fillStyle

Fill style element id (from styles collection)

string

yes

-

Parent Elements

objects collection

See Also

XML Schema Reference, objects collection.