I used g.fillpoly() to fill color in the desired red ring and achieved what i wanted. Please see my updated image.
However, am not sure if there was a better way to do this.
Finding out the coordinates for each tiny area and then coloring it with green wasn't so easy.
I am sure there must be some easy way to find the coordinates or not?
Thanks a lot for all your help
© Espruino, powered by microcosm.
Report a problem