activities
latest
false
UiPath logo, featuring letters U and I in white
Document Understanding Activities
Last updated Nov 21, 2024

Polygon Class

Polygon is a public class that defines a two-dimensional region within a coordinate space.

Definition

  • Namespace: UiPath.DocumentProcessing.Contracts
  • Assembly: UiPath.DocumentProcessing.Contracts

Description

A public class that defines a two-dimensional region within a coordinate space.

Members

Constructors
Polygon(System.Collections.Generic.IEnumerable<System.Drawing.PointF>) - The public constructor. Assigns spacial coordinates to a geometrical shape. Exactly 4 points are expected, they need to be in clockwise order and they need to describe a valid (non self-intersecting) polygon.
Methods
  • ToFloatArray(float) - Converts the polygon points array to an array of float coordinates.
  • GetSchema() - This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the System.Xml.Serialization.XmlSchemaProviderAttribute to the class.
  • ReadXml(**System.Xml.XmlReader**) - Generates an object from its XML representation.
  • WriteXml(**System.Xml.XmlWriter**) - Converts an object into its XML representation.
Properties
  • Points get- The array of points describing the polygon path.
  • Definition
  • Description
  • Members

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.