Polygon2d Constructor (IEnumerablePoint2d) |
Creates a new instance of Polygon2d.
Namespace:
Gile.AutoCAD.R20.Geometry
Assembly:
GeometryExtensionsR20 (in GeometryExtensionsR20.dll) Version: 2.2.0.0 (2.2.0.0)
Syntaxpublic Polygon2d(
IEnumerable<Point2d> vertices
)
Public Sub New (
vertices As IEnumerable(Of Point2d)
)
public:
Polygon2d(
IEnumerable<Point2d>^ vertices
)
new :
vertices : IEnumerable<Point2d> -> Polygon2d
Parameters
- vertices
- Type: System.Collections.GenericIEnumerablePoint2d
Vertices sequence.
ExceptionsException | Condition |
---|
ArgumentNullException | ArgumentException is thrown if vertices is null. |
See Also