<html> <head> <title>Constants' Group ParagraphVertAlign</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimainnone">Use</td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub"><a href="#Constants" class="navisub">Constants</a></td> <td class="navisub"><a href="#ConstantDetails" class="navisub">Constants' Details</a></td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">text</a> :: </p> </td> </tr> <tr> <td class="title">constants group ParagraphVertAlign</td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>These enumeration values are used to specify the vertical alignment of paragaphs. </dd> </dl> </td> </tr> </table> <hr> <a name="Constants"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Constants</td> </tr> <tr> <td class="imsum_left"><a href="#AUTOMATIC">AUTOMATIC</a></td> <td class="imsum_right">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. </td> </tr> <tr> <td class="imsum_left"><a href="#BASELINE">BASELINE</a></td> <td class="imsum_right">The text is aligned to the baseline. </td> </tr> <tr> <td class="imsum_left"><a href="#TOP">TOP</a></td> <td class="imsum_right">The text is aligned to the top. </td> </tr> <tr> <td class="imsum_left"><a href="#CENTER">CENTER</a></td> <td class="imsum_right">The text is aligned to the center. </td> </tr> <tr> <td class="imsum_left"><a href="#BOTTOM">BOTTOM</a></td> <td class="imsum_right">The text is aligned to bottom. </td> </tr> </table> <a name="ConstantDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Constants' Details</td> </tr> <tr> <td class="imdetail"><a name="AUTOMATIC" class="membertitle">AUTOMATIC</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const short <b>AUTOMATIC</b> = 0;<hr> <dl> <dt><b>Description</b></dt> <dd>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. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="BASELINE" class="membertitle">BASELINE</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const short <b>BASELINE</b> = 1;<hr> <dl> <dt><b>Description</b></dt> <dd>The text is aligned to the baseline. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="TOP" class="membertitle">TOP</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const short <b>TOP</b> = 2;<hr> <dl> <dt><b>Description</b></dt> <dd>The text is aligned to the top. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="CENTER" class="membertitle">CENTER</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const short <b>CENTER</b> = 3;<hr> <dl> <dt><b>Description</b></dt> <dd>The text is aligned to the center. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="BOTTOM" class="membertitle">BOTTOM</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const short <b>BOTTOM</b> = 4;<hr> <dl> <dt><b>Description</b></dt> <dd>The text is aligned to bottom. </dd> </dl> </td> </tr> </table> </td> </tr> </table> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>