If you are looking for a line measurement then I suggest using the distance formula. Which is [tex]\sqrt({x2-x1)^{2} +(y2-y1)^{2} }[/tex]