Appends a vertex to the current shape using a 2D vector.
the Vector2 instance containing the x and y coordinates of the vertex to be added. The coordinates are converted to Float for use in the shape.