Whats the point?
The only way to represent the line would be to create 1 pixel objects. That could easily go into the hundreds, if not thousands of instances..
If all you want is a line then stretching a tiled bg to the distance() between the two points, and setting the object to point at the second position, would be far easier, and less intensive.
Not to mention all the sub-pixel stuff you have to deal with......