Method
newTextnote
(self, text, positionRect=[-100, -100, 0, 0])
Source from the content-addressed store, hash-verified
| 782 | self.pageAnnotations = [] |
| 783 | |
| 784 | def newTextnote(self, text, positionRect=[-100, -100, 0, 0]): |
| 785 | # Create a new annotation of type text |
| 786 | theNote = {'Type': Name('Annot'), |
| 787 | 'Subtype': Name('Text'), |
| 788 | 'Contents': text, |
| 789 | 'Rect': positionRect, |
| 790 | } |
| 791 | self.pageAnnotations.append(theNote) |
| 792 | |
| 793 | @staticmethod |
| 794 | def _get_subset_prefix(charset): |
Tested by
no test coverage detected