<html> <head> <title>Constants' Group PathCapType</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">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">constants group PathCapType</td> <td width="*"/></tr> </table> </td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>These constants determine which shape to use for start or end of a stroked path.</dd> <dd><p> The start and end of stroked paths can have one out of several different shapes (which are, of course, only visible for strokes wider than one device pixel).<p> </dd> <dt><b/></dt> <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="#BUTT">BUTT</a></td> <td class="imsum_right">End the path at its start or end point, without any cap. </td> </tr> <tr> <td class="imsum_left"><a href="#ROUND">ROUND</a></td> <td class="imsum_right">Extend the path with a half circle cap, diameter is the line width. </td> </tr> <tr> <td class="imsum_left"><a href="#SQUARE">SQUARE</a></td> <td class="imsum_right">Extend the path with a rectangular cap, half the line width long. </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="BUTT" class="membertitle">BUTT</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const byte <b>BUTT</b> =0;<hr> <dl> <dt><b>Description</b></dt> <dd>End the path at its start or end point, without any cap.</dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="ROUND" class="membertitle">ROUND</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const byte <b>ROUND</b> =1;<hr> <dl> <dt><b>Description</b></dt> <dd>Extend the path with a half circle cap, diameter is the line width.</dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="SQUARE" class="membertitle">SQUARE</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const byte <b>SQUARE</b> =2;<hr> <dl> <dt><b>Description</b></dt> <dd>Extend the path with a rectangular cap, half the line width long.</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>