Request: Text Rotate
See original GitHub issueCame across Issue #167 on HummusJS (https://github.com/galkahana/HummusJS/issues/167) and chunyenHuang’s implementation for rotating text.
Could we also add this feature to the options in HummusRecipe? Example:
let pdfDoc = new HummusRecipe(...)
pdfDoc.text(watermark, xOffset, yOffset, {
color: 'ff0000',
opacity: 0.3,
fontSize: 48,
bold: true,
font: 'Helvetica',
align: 'center top',
rotateText: 90 // 0 - 360 degrees
})
Issue Analytics
- State:
- Created 5 years ago
- Comments:23 (11 by maintainers)
Top Results From Across the Web
Rotate text in Word - Microsoft Support
Use any of the rotate commands in the list. Manually rotate the text box by selecting the text box rotation handle and dragging...
Read more >Text Rotation | CSS-Tricks
If you're just trying to turn some text, you can rotate entire elements like this, which rotates it 90 degrees counterclockwise:
Read more >How to Rotate Text in Microsoft Word - groovyPost
If you want to turn your text to a slight angle or 90 degrees, we'll walk you through how to rotate text in...
Read more >How to Rotate Text in Word - Lifewire
Rotate a text box: Go to Insert > Text Box to create a text box. Select the box and drag the rotation handle...
Read more >text-orientation - CSS: Cascading Style Sheets - MDN Web Docs
The text-orientation CSS property sets the orientation of the text ... never once considering how in the world she was to get out...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hello @nothingasis @Fiiii You can now test the text rotation in
1.7.0
https://chunyenhuang.github.io/hummusRecipe/Recipe.html#.textI just added support for arbitrary rotation angles in PR #47. Let me know what you think, or if there are any mistakes!