TGML Ellipse
The <Ellipse> element defines an ellipse.
| Attribute | Type | Description |
|---|---|---|
|
Fill |
Brush |
Specifies how the interior of the shape is painted. |
|
Height |
Double |
The height of the ellipse. |
|
Left |
Double |
The x coordinate of the upper left corner of the ellipse. |
|
Opacity |
Double |
A value between "0.0" (transparent) and "1.0" (opaque) |
|
Stroke |
Brush |
Describes how the line is painted. |
|
StrokeDashArray |
Array of Double |
The pattern of dashes and gaps used to outline shapes: |
|
StrokeWidth |
Double |
The width of the outline of a line. |
|
Top |
Double |
The y coordinate of the upper left corner of the ellipse. |
| Visibility | Visibility |
Specifies if the element is visible or not. |
|
Width |
Double |
The width of the ellipse. |
Example:
<TGML>
<Ellipse Left="10" Top="10" Width="100" Height="50" Fill="#FFFF00" Stroke="#000000"/>
<Ellipse Left="120" Top="10" Width="50" Height="50" Fill="#FFFF00" Stroke="#000000"/>
</TGML>
Example on screen: