[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The pen is capable of aligning text inside of a box, without the user having to do all sorts of complex operations. This makes text positioning much easier to perform.
The following constants may be used to align text.
ALIGN_TOP
Align text vertically to the top of the box. The top of the text will touch the top of the box.
ALIGN_BOT
Align text vertically to the bottom of the box. The bottom of the text will touch the bottom of the box.
ALIGN_LEFT
Align text horizontally to the left-hand side of the box. The left edge of the text will touch the left side of the box.
ALIGN_RIGHT
Align text horizontally to the right-hand side of the box. The right edge of the text will touch the right side of the box.
ALIGN_CENTER
Align text horizontally or vertically to the center of the box. The center of the text will be in the center of the box.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] |
This document was generated using texi2html 1.76.