Add a vertex to the array.
Clear the vertex array.
Draw the object to a render target.
Compute the bounding rectangle of the vertex array.
Return the vertex count.
Resize the vertex array.
The type of primitive to draw.
Draw the object to a render target.
Define a set of one or more 2D primitives.
VertexArray is a very simple wrapper around a dynamic array of vertices and a primitives type.
It inherits Drawable, but unlike other drawables it is not transformable.