I'm looking to rotate the text in the image and I'm running into problems. The only way I see to do it is in preRender, but when I do the text seems to get cropped off. I know this seems like something with canvas, but maybe this library could provide a rotate param in IImage or something that will rotate an image when it's placed on another one.
Code (I have more steps applying the background and "test" text, but this is the applicable code)
I'm looking to rotate the text in the image and I'm running into problems. The only way I see to do it is in preRender, but when I do the text seems to get cropped off. I know this seems like something with canvas, but maybe this library could provide a
rotate
param in IImage or something that will rotate an image when it's placed on another one.Code (I have more steps applying the background and "test" text, but this is the applicable code)
Result (the pink text in the bottom right-hand corner of the letter)