Now i would like to know if there is a way to Align a message from DrawMessage
cause it goes in center of image, i would like the message to be on the left.
TY in advance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No, it doesn't currently give you any control about alignment or positioning.
(The way it works is that it calculates how much space the text will need, after optional word wrapping. The text is top/left aligned within that space, and the resulting box is centered within the image.)
This was meant for use with "fatal" errors, where the text would be displayed alone in the image. So there didn't seem to be any point in not centering it.
Are you using DrawMessage in some other way? I'm open to new feature requests, provided they are useful and don't break something else.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
Thanks for the previous help!
Now i would like to know if there is a way to Align a message from DrawMessage
cause it goes in center of image, i would like the message to be on the left.
TY in advance
No, it doesn't currently give you any control about alignment or positioning.
(The way it works is that it calculates how much space the text will need, after optional word wrapping. The text is top/left aligned within that space, and the resulting box is centered within the image.)
This was meant for use with "fatal" errors, where the text would be displayed alone in the image. So there didn't seem to be any point in not centering it.
Are you using DrawMessage in some other way? I'm open to new feature requests, provided they are useful and don't break something else.