:: com :: sun :: star :: text ::
|
constants group ParagraphVertAlign |
- Description
- These enumeration values are used to specify the vertical alignment of paragraphs.
|
Constants |
AUTOMATIC |
In automatic mode, horizontal text is aligned to the baseline. The same applies to
text that is rotated 90°. Text that is rotated 270 ° is aligned to the center.
|
BASELINE |
The text is aligned to the baseline.
|
TOP |
The text is aligned to the top.
|
CENTER |
The text is aligned to the center.
|
BOTTOM |
The text is aligned to bottom.
|
Constants' Details |
AUTOMATIC
const short AUTOMATIC = 0;
- Description
- In automatic mode, horizontal text is aligned to the baseline. The same applies to
text that is rotated 90°. Text that is rotated 270 ° is aligned to the center.
|
|
BASELINE
const short BASELINE = 1;
- Description
- The text is aligned to the baseline.
|
|
TOP
const short TOP = 2;
- Description
- The text is aligned to the top.
|
|
CENTER
const short CENTER = 3;
- Description
- The text is aligned to the center.
|
|
BOTTOM
const short BOTTOM = 4;
- Description
- The text is aligned to bottom.
|
|
Top of Page
Copyright © 1995, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.