public void setLine (Line2D l)

Sets the location of the end points of this Line2D to the same as those end points of the specified Line2D.

Parameters:
l    the specified Line2D

Since:  1.2