Add a ('rubber') 'Stamp' annotation.
(self, rect: rect_like, stamp=0)
| 10566 | return self._add_text_marker(q, mupdf.PDF_ANNOT_SQUIGGLY) |
| 10567 | |
| 10568 | def add_stamp_annot(self, rect: rect_like, stamp=0) -> Annot: |
| 10569 | """Add a ('rubber') 'Stamp' annotation.""" |
| 10570 | old_rotation = annot_preprocess(self) |
| 10571 | try: |
| 10572 | annot = self._add_stamp_annot(rect, stamp) |
| 10573 | finally: |
| 10574 | if old_rotation != 0: |
| 10575 | self.set_rotation(old_rotation) |
| 10576 | annot_postprocess(self, annot) |
| 10577 | return annot |
| 10578 | |
| 10579 | def add_strikeout_annot(self, quads=None, start=None, stop=None, clip=None) -> Annot: |
| 10580 | """Add a 'StrikeOut' annotation.""" |