SetTextJustify¶
Set text placement style.
Description¶
SetTextJustify controls the placement of new text, relative to the (graphical) cursor position. Horizontal controls horizontal placement, and can be one of the following predefined constants:
- LeftText
- Text is set left of the pointer.
- CenterText
- Text is set centered horizontally on the pointer.
- RightText
- Text is set to the right of the pointer.
Vertical controls the vertical placement of the text, relative to the (graphical) cursor position. Its value can be one of the following predefined constants :
- BottomText
- Text is placed under the pointer.
- CenterText
- Text is placed centered vertically on the pointer.
- TopText
- Text is placed above the pointer.
Errors¶
None.