def addLineAnnot(self, p1, p2):
CheckParent(self)<EOL>val = _fitz.Page_addLineAnnot(self, p1, p2)<EOL>if not val: return<EOL>val.thisown = True<EOL>val.parent = weakref.proxy(self)<EOL>self._annot_refs[id(val)] = val<EOL>return val<EOL>
Add 'Line' annot for points p1 and p2.