Adds a point to the polyline at an index
If the index is greater then the polyline size, the method acts like add
this
to add to point at
x point in pixels
y point in pixels