<html> <head> <title>Interface XRegion</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="XRegion-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="#MethodsSummary" class="navisub">Methods' Summary</a></td> <td class="navisub"><a href="#MethodsDetails" class="navisub">Methods' Details</a></td> <td class="navisub">Attributes' Summary</td> <td class="navisub">Attributes' Details</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">awt</a> :: </p> </td> </tr> <tr> <td class="title">interface XRegion</td> </tr> <tr> <td/></tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>manages multiple rectangles which make up a region. </dd> </dl> </td> </tr> </table> <hr> <a name="MethodsSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Methods' Summary</td> </tr> <tr> <td class="imsum_left"><a href="#getBounds">getBounds</a></td> <td class="imsum_right">returns the bounding box of the shape. </td> </tr> <tr> <td class="imsum_left"><a href="#clear">clear</a></td> <td class="imsum_right">makes this region an empty region. </td> </tr> <tr> <td class="imsum_left"><a href="#move">move</a></td> <td class="imsum_right">moves this region by the specified horizontal and vertical delta. </td> </tr> <tr> <td class="imsum_left"><a href="#unionRectangle">unionRectangle</a></td> <td class="imsum_right">adds the specified rectangle to this region. </td> </tr> <tr> <td class="imsum_left"><a href="#intersectRectangle">intersectRectangle</a></td> <td class="imsum_right">intersects the specified rectangle with the current region. </td> </tr> <tr> <td class="imsum_left"><a href="#excludeRectangle">excludeRectangle</a></td> <td class="imsum_right">removes the area of the specified rectangle from this region. </td> </tr> <tr> <td class="imsum_left"><a href="#xOrRectangle">xOrRectangle</a></td> <td class="imsum_right">applies an exclusive-or operation with the specified rectangle to this region. </td> </tr> <tr> <td class="imsum_left"><a href="#unionRegion">unionRegion</a></td> <td class="imsum_right">adds the specified region to this region. </td> </tr> <tr> <td class="imsum_left"><a href="#intersectRegion">intersectRegion</a></td> <td class="imsum_right">intersects the specified region with the current region. </td> </tr> <tr> <td class="imsum_left"><a href="#excludeRegion">excludeRegion</a></td> <td class="imsum_right">removes the area of the specified region from this region. </td> </tr> <tr> <td class="imsum_left"><a href="#xOrRegion">xOrRegion</a></td> <td class="imsum_right">applies an exclusive-or operation with the specified region to this region. </td> </tr> <tr> <td class="imsum_left"><a href="#getRectangles">getRectangles</a></td> <td class="imsum_right">returns all rectangles which are making up this region. </td> </tr> </table> <a name="MethodsDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Methods' Details</td> </tr> <tr> <td class="imdetail"><a name="getBounds" class="membertitle">getBounds</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3"><a href="Rectangle.html">Rectangle</a></td> </tr> <tr> <td valign="top"><b>getBounds</b>();</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>returns the bounding box of the shape. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="clear" class="membertitle">clear</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">[oneway] void</td> </tr> <tr> <td valign="top"><b>clear</b>();</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>makes this region an empty region. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="move" class="membertitle">move</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">[oneway] void</td> </tr> <tr> <td valign="top"><b>move</b>(</td> <td valign="top">[in] long</td> <td valign="bottom"> nHorzMove,</td> </tr> <tr> <td/><td valign="top">[in] long</td> <td valign="bottom"> nVertMove );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>moves this region by the specified horizontal and vertical delta. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="unionRectangle" class="membertitle">unionRectangle</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">[oneway] void</td> </tr> <tr> <td valign="top"><b>unionRectangle</b>(</td> <td valign="top">[in] <a href="Rectangle.html">Rectangle</a></td> <td valign="bottom"> Rect );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>adds the specified rectangle to this region. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="intersectRectangle" class="membertitle">intersectRectangle</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">[oneway] void</td> </tr> <tr> <td valign="top"><b>intersectRectangle</b>(</td> <td valign="top">[in] <a href="Rectangle.html">Rectangle</a></td> <td valign="bottom"> Region );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>intersects the specified rectangle with the current region. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="excludeRectangle" class="membertitle">excludeRectangle</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">[oneway] void</td> </tr> <tr> <td valign="top"><b>excludeRectangle</b>(</td> <td valign="top">[in] <a href="Rectangle.html">Rectangle</a></td> <td valign="bottom"> Rect );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>removes the area of the specified rectangle from this region. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="xOrRectangle" class="membertitle">xOrRectangle</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">[oneway] void</td> </tr> <tr> <td valign="top"><b>xOrRectangle</b>(</td> <td valign="top">[in] <a href="Rectangle.html">Rectangle</a></td> <td valign="bottom"> Rect );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>applies an exclusive-or operation with the specified rectangle to this region. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="unionRegion" class="membertitle">unionRegion</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">[oneway] void</td> </tr> <tr> <td valign="top"><b>unionRegion</b>(</td> <td valign="top">[in] <a href="XRegion.html">XRegion</a></td> <td valign="bottom"> Region );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>adds the specified region to this region. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="intersectRegion" class="membertitle">intersectRegion</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">[oneway] void</td> </tr> <tr> <td valign="top"><b>intersectRegion</b>(</td> <td valign="top">[in] <a href="XRegion.html">XRegion</a></td> <td valign="bottom"> Region );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>intersects the specified region with the current region. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="excludeRegion" class="membertitle">excludeRegion</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">[oneway] void</td> </tr> <tr> <td valign="top"><b>excludeRegion</b>(</td> <td valign="top">[in] <a href="XRegion.html">XRegion</a></td> <td valign="bottom"> Region );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>removes the area of the specified region from this region. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="xOrRegion" class="membertitle">xOrRegion</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">[oneway] void</td> </tr> <tr> <td valign="top"><b>xOrRegion</b>(</td> <td valign="top">[in] <a href="XRegion.html">XRegion</a></td> <td valign="bottom"> Region );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>applies an exclusive-or operation with the specified region to this region. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="getRectangles" class="membertitle">getRectangles</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">sequence< <a href="Rectangle.html">Rectangle</a> ></td> </tr> <tr> <td valign="top"><b>getRectangles</b>();</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>returns all rectangles which are making up this region. </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>