Skip to content
Discussion options

You must be logged in to vote

Method insert_textbox supports the morph=(point, matrix) parameter.
If you do page.insert_textbox(rect, text, morph=(rect.bl, fitz.Matrix(45)), ...), the text will be rotated by 45° around the bottom-left point of the rectangle.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@JorjMcKie
Comment options

Answer selected by JorjMcKie
Comment options

You must be logged in to vote
2 replies
@Andreasox
Comment options

@JorjMcKie
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants