line2d alignment added