Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

多边形对象

  • Last UpdatedSep 24, 2024
  • 1 minute read

必须定义至少两个点,才能加载多边形对象。不建议对这两个点使用相同的坐标。

可以为多边形对象指定以下元素。

元素

描述

标记点

包含 Point 元素。至少需要两个点。X 和 Y 值以像素为单位。

FillColor

多边形对象的填充颜色。包含一个颜色元素。缺省值为 rgb(212, 208, 200)。

Pen 元素。

标题

对象名。可选。

动画链接

可选的动画链接列表。不允许文本颜色、值显示动画链接。

示例:

<Polygon>

<Title>polygon1</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>60</X><Y>250</Y></Point>

<Point><X>70</X><Y>350</Y></Point>

<Point><X>80</X><Y>450</Y></Point>

</Points>

<FillColor>

<R>128</R> <G>128</G> <B>128</B>

</FillColor>

<AnimationLinks>

</AnimationLinks>

</Polygon>

最简示例:

<Polygon>

<Points>

<Point><X>50</X><Y>150</Y></Point>

<Point><X>80</X><Y>450</Y></Point>

</Points>

</Polygon>

Related Links