made path locations fields in canvas class so we don't have to rebuild them everytime we repaint()