Specifies text alignment.
Syntax
Members
Member | Value | Description |
CONTINUOUSX | 128 | Additional align point is used for alignment along x direction. |
CONTINUOUSY | 256 | Additional align point is used for alignment along y direction. |
NONE | 0 | No alighnment (default alignment). |
RESTRICT | 512 | The text is restricted. |
RESTRICT_BASIS | 1024 | The text is exactly restricted in the restrict box by the base line. |
RESTRICT_BOXED_ALL | 4096 | The same as RESTRICT_BASIS at the moment. |
RESTRICT_BOXED_CAP | 2048 | The text is exactly restricted in the restrict box by the bottom. |
RESTRICT_ISOTROPIC_ALL | 16384 | Isotropic restriction in the restrict box by the base line. |
RESTRICT_ISOTROPIC_CAP | 8192 | Isotropic restriction in the restrict box by the bottom. |
RESTRICT_JUSTIFIED | 32768 | The text is justified inside the restriction box using variable spacing. |
X_CENTER | 2 | Text is centered in x directiont. |
X_LEFT | 1 | Text is left-aligned in x direction. |
X_RIGHT | 4 | Text is right-aligned in x direction. |
Y_BASELINE | 64 | Text is base line aligned. |
Y_BOTTOM | 32 | Text is bottom-aligned in y direction. |
Y_CENTER | 16 | Text is centered in y direction. |
Y_TOP | 8 | Text is top-aligned in y direction. |
Inheritance Hierarchy
See Also