Overview | Module | Use | Devguide | Index

Constants | Constants' Details

:: com :: sun :: star :: text ::
constants group ParagraphVertAlign
Description These enumeration values are used to specify the vertical alignment of paragaphs.

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 © 2003 Sun Microsystems, Inc.