now supports drawing in all directions and also fixing a bug with "dashes length"