Line object
- Last UpdatedJul 26, 2024
- 1 minute read
The following elements can be specified for a line object. From and to points cannot be the same point.
|
Elements |
Description |
|---|---|
|
Pen |
Pen element |
|
Title |
Object name. Optional. |
|
AnimationLinks |
Optional animation links list. |
|
Points |
Point elements. Must contain two. Extra point elements are ignored. |
Example:
<Line>
<Title>Line1</Title>
<Pen>
<PenColor><Name>Black</Name></PenColor>
<PenWidth>1</PenWidth>
<PenStyle>Solid</PenStyle>
</Pen>
<Points>
<Point><X>50</X><Y>150</Y></Point>
<Point><X>150</X><Y>160</Y></Point>
</Points>
<AnimationLinks>
</AnimationLinks>
</Line>
Minimal example:
<Line>
<Points>
<Point><X>50</X><Y>150</Y></Point>
<Point><X>150</X><Y>160</Y></Point>
</Points> </Line>