Add a 'Underline' annotation.
(self, quads=None, start=None, stop=None, clip=None)
| 10596 | return annot |
| 10597 | |
| 10598 | def add_underline_annot(self, quads=None, start=None, stop=None, clip=None) -> Annot: |
| 10599 | """Add a 'Underline' annotation.""" |
| 10600 | if quads is None: |
| 10601 | q = get_highlight_selection(self, start=start, stop=stop, clip=clip) |
| 10602 | else: |
| 10603 | q = CheckMarkerArg(quads) |
| 10604 | return self._add_text_marker(q, mupdf.PDF_ANNOT_UNDERLINE) |
| 10605 | |
| 10606 | def add_widget(self, widget: Widget) -> Annot: |
| 10607 | """Add a 'Widget' (form field).""" |