TGML Basic Shapes
The TGML specification contains a number of basic shapes:
Shape Attributes
The following table describes the common attributes of the basic shapes.
| Attribute | Type | Description |
|---|---|---|
|
Fill |
Brush |
Specifies how the interior of the shape is painted. |
|
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. |
| Visibility | Visibility |
Specifies if the element shall be visible or not. |