line.pointOffset(point)
Return the perpendicular distance between the line and the point. The distance is positive if the point lies to the right from the line, negative if the point lies to the left from the line, and 0 if the point lies on the line.