Completed Line method in Graphics.cpp