There are two basic approaches you can use, that would each get your Polygon roughly centered around the x,y location where the dab of color is supposed to be.
Option 1) create all the points of the Polygon based around x,y coordinates
Option 2) create a polygon centered around 0,0, and then move it to the desired x,y location.