Poly2d.Add (Vector2d) Method

Adds a copy of the polys last point translated with a given vector last to the poly. If the poly is empty a point at 0,0 is added first.
public void Add( 
   Vector2d vec 
)

Parameters

vec
Vector2d

The vector describing the next point to add.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition