Contains for Line and free form line