diff options
Diffstat (limited to 'pydyf/__init__.py')
-rwxr-xr-x | pydyf/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pydyf/__init__.py b/pydyf/__init__.py index 3d0b122..25165f0 100755 --- a/pydyf/__init__.py +++ b/pydyf/__init__.py @@ -280,6 +280,10 @@ class Stream(Object): """Set text rendering mode.""" self.stream.append(_to_bytes(mode) + b' Tr') + def set_text_rise(self, height): + """Set text rise.""" + self.stream.append(_to_bytes(height) + b' Ts') + def set_line_cap(self, line_cap): """Set line cap style.""" self.stream.append(_to_bytes(line_cap) + b' J') |