Border information.
(self)
| 850 | |
| 851 | @property |
| 852 | def border(self): |
| 853 | """Border information.""" |
| 854 | CheckParent(self) |
| 855 | atype = self.type[0] |
| 856 | if atype not in ( |
| 857 | mupdf.PDF_ANNOT_CIRCLE, |
| 858 | mupdf.PDF_ANNOT_FREE_TEXT, |
| 859 | mupdf.PDF_ANNOT_INK, |
| 860 | mupdf.PDF_ANNOT_LINE, |
| 861 | mupdf.PDF_ANNOT_POLY_LINE, |
| 862 | mupdf.PDF_ANNOT_POLYGON, |
| 863 | mupdf.PDF_ANNOT_SQUARE, |
| 864 | ): |
| 865 | return dict() |
| 866 | ao = mupdf.pdf_annot_obj(self.this) |
| 867 | ret = JM_annot_border(ao) |
| 868 | return ret |
| 869 | |
| 870 | def clean_contents(self, sanitize=1): |
| 871 | """Clean appearance contents stream.""" |
nothing calls this directly
no test coverage detected