| <html> |
| <head> |
| <title>Struct TextHit</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="navimain"><a href="TextHit-xref.html" class="navimain">Use</a></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="#Elements" class="navisub">Elements' Summary</a></td> |
| <td class="navisub"><a href="#ElementDetails" class="navisub">Elements' 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">rendering</a> :: </p> |
| </td> |
| </tr> |
| <tr> |
| <td class="title"><table class="title-table" width="99%"> |
| <tr> |
| <td width="25%" class="title2">unpublished </td> |
| <td width="50%" class="title">struct TextHit</td> |
| <td width="*"/></tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td/></tr> |
| <tr> |
| <td><dl> |
| <dt><b>Description</b></dt> |
| <dd>This structure contains hit information for <a href="XTextLayout.html">XTextLayout</a> . </dd> |
| <dd><p> |
| |
| This structure is used from the <a href="XTextLayout.html">XTextLayout</a> interface |
| to transport information regarding hit tests. <p> |
| |
| </dd> |
| <dt><b>Since </b></dt> |
| <dd>OOo 2.0.0 </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| <hr> |
| <a name="Elements"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> |
| <tr> |
| <td class="subtitle" colspan="2">Elements' Summary</td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#EntryIndex">EntryIndex</a></td> |
| <td class="imsum_right">This contains the entry index. </td> |
| </tr> |
| <tr> |
| <td class="imsum_left"><a href="#IsLeadingEdge">IsLeadingEdge</a></td> |
| <td class="imsum_right">This member denotes whether the hit was on the leading |
| edge. </td> |
| </tr> |
| </table> |
| <a name="ElementDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> |
| <tr> |
| <td class="subtitle">Elements' Details</td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="EntryIndex" class="membertitle">EntryIndex</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td>long <b>EntryIndex</b>;<hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd>This contains the entry index. </dd> |
| <dd><p> |
| |
| The entry index is the index of the insertion point in the |
| character sequence. The insertion point denotes positions |
| <em>between </em>the actual characters in the string, and can |
| thus have values ranging from 0 up to the number of characters |
| in the string. Hereby, an index of 0 denotes an insertion |
| position <em>before </em>the first character, and an index |
| containing the number of characters denotes an insertion |
| <em>behind </em>the last character. <p> |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td class="imdetail"><a name="IsLeadingEdge" class="membertitle">IsLeadingEdge</a> |
| <table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> |
| <tr> |
| <td>boolean <b>IsLeadingEdge</b>;<hr> |
| <dl> |
| <dt><b>Description</b></dt> |
| <dd>This member denotes whether the hit was on the leading |
| edge. </dd> |
| <dd><p> |
| |
| Each character is divided in two halves, the leading and the |
| trailing part. The leading edge is the part of the glyph on |
| encounteres first when reading text of the corresponding |
| language (i.e. the leading edge of an Arabic glyph is the |
| right half of it, whereas it is the left half of a Latin |
| character). If the hit was on the leading edge, this member is |
| set to <b>true</b> . |
| </dd> |
| </dl> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| </table> |
| <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2003 Sun Microsystems, Inc.</p> |
| |
| </div> <!-- id="adc-idlref" --> |
| </body> |
| |
| </html> |