线条对象
- Last UpdatedSep 24, 2024
- 1 minute read
可以为线条对象指定以下元素。起点和终点不能是同一个点。
|
元素 |
描述 |
|---|---|
|
笔 |
Pen 元素 |
|
标题 |
对象名。可选。 |
|
动画链接 |
可选的动画链接列表。 |
|
标记点 |
Point 元素。必须包含两个点。额外的 Point 元素将被忽略。 |
示例:
<Line>
<Title>线 1</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>
最简示例:
<Line>
<Points>
<Point><X>50</X><Y>150</Y></Point>
<Point><X>150</X><Y>160</Y></Point>
</Points> </Line>