The Polygon class represents a geometric shape that has three or more vertices and forms a closed ring.


Namespace: ActualMap
Assembly: ActualMap (in ActualMap.dll)

Syntax

Visual Basic (Declaration)
Public Class Polygon
    Inherits Shape
    Implements IDisposable
C#
public class Polygon : Shape, IDisposable
C++
ref class Polygon : Shape, IDisposable
J#
public class Polygon extends Shape implements IDisposable
JScript
public class Polygon extends Shape, IDisposable

Remarks

A Polygon may consist of one or more discontinuous parts; a Polygon with two or more parts is a multi-part Polygon. Parts can be accessed using the Item property as Points objects that represent the vertices of each part.

Inheritance Hierarchy

System.Object
   ActualMap.Shape
      ActualMap.Polygon

Thread Safety

Public static (Shared in Visual Basic)staticShared members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

See Also