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

AVEVA™ InTouch HMI

Polygon object

  • Last UpdatedJul 26, 2024
  • 1 minute read

You must define at least two points to load a polygon object. Using the same coordinates for the two points is not recommended.

The following elements can be specified for a polygon object.

Elements

Description

Points

Contains Point elements. At least two points are required. X and Y values are in pixels.

FillColor

Fill color of polygon object. Contains a color element. Default is rgb(212, 208, 200).

Pen

Pen element.

Title

Object name. Optional.

AnimationLinks

Optional animation links list. Text Color, Value Display animation links are not permitted.

Example:

<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>

Minimal example:

<Polygon>

<Points>

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

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

</Points>

</Polygon>

Related Links
TitleResults for “How to create a CRG?”Also Available in