<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_191) on Wed Oct 31 14:02:05 UTC 2018 --> <title>Bounds (JavaFX 8)</title> <meta name="date" content="2018-10-31"> <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Bounds (JavaFX 8)"; } } catch(err) { } //--> var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":6,"i17":6,"i18":6,"i19":6}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; var activeTableTab = "activeTableTab"; </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/Bounds.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../index-all.html">Index</a></li> <li><a href="../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">JavaFX 8</div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../javafx/geometry/BoundingBox.html" title="class in javafx.geometry"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../javafx/geometry/Dimension2D.html" title="class in javafx.geometry"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../index.html?javafx/geometry/Bounds.html" target="_top">Frames</a></li> <li><a href="Bounds.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li>Nested | </li> <li>Field | </li> <li><a href="#constructor.summary">Constr</a> | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li><a href="#constructor.detail">Constr</a> | </li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">javafx.geometry</div> <h2 title="Class Bounds" class="title">Class Bounds</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li>java.lang.Object</li> <li> <ul class="inheritance"> <li>javafx.geometry.Bounds</li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>Direct Known Subclasses:</dt> <dd><a href="../../javafx/geometry/BoundingBox.html" title="class in javafx.geometry">BoundingBox</a></dd> </dl> <hr> <br> <pre>public abstract class <span class="typeNameLabel">Bounds</span> extends java.lang.Object</pre> <div class="block">The base class for objects that are used to describe the bounds of a node or other scene graph object. One interesting characteristic of a Bounds object is that it may have a negative width, height, or depth. A negative value for any of these indicates that the Bounds are "empty".</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 2.0</dd> </dl> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor.summary"> <!-- --> </a> <h3>Constructor Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> <caption><span>Constructors</span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier</th> <th class="colLast" scope="col">Constructor and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>protected </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/geometry/Bounds.html#Bounds-double-double-double-double-double-double-">Bounds</a></span>(double minX, double minY, double minZ, double width, double height, double depth)</code> <div class="block">Creates a new instance of <code>Bounds</code> class.</div> </td> </tr> </table> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method.summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code>abstract boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/geometry/Bounds.html#contains-javafx.geometry.Bounds-">contains</a></span>(<a href="../../javafx/geometry/Bounds.html" title="class in javafx.geometry">Bounds</a> b)</code> <div class="block">Tests if the interior of this <code>Bounds</code> entirely contains the specified Bounds, <code>b</code>.</div> </td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code>abstract boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/geometry/Bounds.html#contains-double-double-">contains</a></span>(double x, double y)</code> <div class="block">Tests if the specified <code>(x, y)</code> coordinates are inside the boundary of <code>Bounds</code>.</div> </td> </tr> <tr id="i2" class="altColor"> <td class="colFirst"><code>abstract boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/geometry/Bounds.html#contains-double-double-double-">contains</a></span>(double x, double y, double z)</code> <div class="block">Tests if the specified <code>(x, y, z)</code> coordinates are inside the boundary of <code>Bounds</code>.</div> </td> </tr> <tr id="i3" class="rowColor"> <td class="colFirst"><code>abstract boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/geometry/Bounds.html#contains-double-double-double-double-">contains</a></span>(double x, double y, double w, double h)</code> <div class="block">Tests if the interior of this <code>Bounds</code> entirely contains the specified rectangular area.</div> </td> </tr> <tr id="i4" class="altColor"> <td class="colFirst"><code>abstract boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/geometry/Bounds.html#contains-double-double-double-double-double-double-">contains</a></span>(double x, double y, double z, double w, double h, double d)</code> <div class="block">Tests if the interior of this <code>Bounds</code> entirely contains the specified rectangular area.</div> </td> </tr> <tr id="i5" class="rowColor"> <td class="colFirst"><code>abstract boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/geometry/Bounds.html#contains-javafx.geometry.Point2D-">contains</a></span>(<a href="../../javafx/geometry/Point2D.html" title="class in javafx.geometry">Point2D</a> p)</code> <div class="block">Tests if the specified point is inside the boundary of <code>Bounds</code>.</div> </td> </tr> <tr id="i6" class="altColor"> <td class="colFirst"><code>abstract boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/geometry/Bounds.html#contains-javafx.geometry.Point3D-">contains</a></span>(<a href="../../javafx/geometry/Point3D.html" title="class in javafx.geometry">Point3D</a> p)</code> <div class="block">Tests if the specified point is inside the boundary of <code>Bounds</code>.</div> </td> </tr> <tr id="i7" class="rowColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/geometry/Bounds.html#getDepth--">getDepth</a></span>()</code> <div class="block">The depth of this <code>Bounds</code>.</div> </td> </tr> <tr id="i8" class="altColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/geometry/Bounds.html#getHeight--">getHeight</a></span>()</code> <div class="block">The height of this <code>Bounds</code>.</div> </td> </tr> <tr id="i9" class="rowColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/geometry/Bounds.html#getMaxX--">getMaxX</a></span>()</code> <div class="block">The x coordinate of the lower-right corner of this <code>Bounds</code>.</div> </td> </tr> <tr id="i10" class="altColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/geometry/Bounds.html#getMaxY--">getMaxY</a></span>()</code> <div class="block">The y coordinate of the lower-right corner of this <code>Bounds</code>.</div> </td> </tr> <tr id="i11" class="rowColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/geometry/Bounds.html#getMaxZ--">getMaxZ</a></span>()</code> <div class="block">The maximum z coordinate of this <code>Bounds</code>.</div> </td> </tr> <tr id="i12" class="altColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/geometry/Bounds.html#getMinX--">getMinX</a></span>()</code> <div class="block">The x coordinate of the upper-left corner of this <code>Bounds</code>.</div> </td> </tr> <tr id="i13" class="rowColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/geometry/Bounds.html#getMinY--">getMinY</a></span>()</code> <div class="block">The y coordinate of the upper-left corner of this <code>Bounds</code>.</div> </td> </tr> <tr id="i14" class="altColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/geometry/Bounds.html#getMinZ--">getMinZ</a></span>()</code> <div class="block">The minimum z coordinate of this <code>Bounds</code>.</div> </td> </tr> <tr id="i15" class="rowColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/geometry/Bounds.html#getWidth--">getWidth</a></span>()</code> <div class="block">The width of this <code>Bounds</code>.</div> </td> </tr> <tr id="i16" class="altColor"> <td class="colFirst"><code>abstract boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/geometry/Bounds.html#intersects-javafx.geometry.Bounds-">intersects</a></span>(<a href="../../javafx/geometry/Bounds.html" title="class in javafx.geometry">Bounds</a> b)</code> <div class="block">Tests if the interior of this <code>Bounds</code> intersects the interior of a specified Bounds, <code>b</code>.</div> </td> </tr> <tr id="i17" class="rowColor"> <td class="colFirst"><code>abstract boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/geometry/Bounds.html#intersects-double-double-double-double-">intersects</a></span>(double x, double y, double w, double h)</code> <div class="block">Tests if the interior of this <code>Bounds</code> intersects the interior of a specified rectangular area.</div> </td> </tr> <tr id="i18" class="altColor"> <td class="colFirst"><code>abstract boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/geometry/Bounds.html#intersects-double-double-double-double-double-double-">intersects</a></span>(double x, double y, double z, double w, double h, double d)</code> <div class="block">Tests if the interior of this <code>Bounds</code> intersects the interior of a specified rectangular area.</div> </td> </tr> <tr id="i19" class="rowColor"> <td class="colFirst"><code>abstract boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../javafx/geometry/Bounds.html#isEmpty--">isEmpty</a></span>()</code> <div class="block">Indicates whether any of the dimensions(width, height or depth) of this bounds is less than zero.</div> </td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> <!-- --> </a> <h3>Methods inherited from class java.lang.Object</h3> <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> </ul> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor.detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a name="Bounds-double-double-double-double-double-double-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>Bounds</h4> <pre>protected Bounds(double minX, double minY, double minZ, double width, double height, double depth)</pre> <div class="block">Creates a new instance of <code>Bounds</code> class.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>minX</code> - the X coordinate of the upper-left corner</dd> <dd><code>minY</code> - the Y coordinate of the upper-left corner</dd> <dd><code>minZ</code> - the minimum z coordinate of the <code>Bounds</code></dd> <dd><code>width</code> - the width of the <code>Bounds</code></dd> <dd><code>height</code> - the height of the <code>Bounds</code></dd> <dd><code>depth</code> - the depth of the <code>Bounds</code></dd> </dl> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method.detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="getMinX--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getMinX</h4> <pre>public final double getMinX()</pre> <div class="block">The x coordinate of the upper-left corner of this <code>Bounds</code>.</div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> </dl> </li> </ul> <a name="getMinY--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getMinY</h4> <pre>public final double getMinY()</pre> <div class="block">The y coordinate of the upper-left corner of this <code>Bounds</code>.</div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> </dl> </li> </ul> <a name="getMinZ--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getMinZ</h4> <pre>public final double getMinZ()</pre> <div class="block">The minimum z coordinate of this <code>Bounds</code>.</div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> </dl> </li> </ul> <a name="getWidth--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getWidth</h4> <pre>public final double getWidth()</pre> <div class="block">The width of this <code>Bounds</code>.</div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> </dl> </li> </ul> <a name="getHeight--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getHeight</h4> <pre>public final double getHeight()</pre> <div class="block">The height of this <code>Bounds</code>.</div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> </dl> </li> </ul> <a name="getDepth--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getDepth</h4> <pre>public final double getDepth()</pre> <div class="block">The depth of this <code>Bounds</code>.</div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> </dl> </li> </ul> <a name="getMaxX--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getMaxX</h4> <pre>public final double getMaxX()</pre> <div class="block">The x coordinate of the lower-right corner of this <code>Bounds</code>.</div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd><code>minX + width</code></dd> </dl> </li> </ul> <a name="getMaxY--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getMaxY</h4> <pre>public final double getMaxY()</pre> <div class="block">The y coordinate of the lower-right corner of this <code>Bounds</code>.</div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd><code>minY + height</code></dd> </dl> </li> </ul> <a name="getMaxZ--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getMaxZ</h4> <pre>public final double getMaxZ()</pre> <div class="block">The maximum z coordinate of this <code>Bounds</code>.</div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd><code>minZ + depth</code></dd> </dl> </li> </ul> <a name="isEmpty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>isEmpty</h4> <pre>public abstract boolean isEmpty()</pre> <div class="block">Indicates whether any of the dimensions(width, height or depth) of this bounds is less than zero.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>true if any of the dimensions(width, height or depth) of this bounds is less than zero.</dd> </dl> </li> </ul> <a name="contains-javafx.geometry.Point2D-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>contains</h4> <pre>public abstract boolean contains(<a href="../../javafx/geometry/Point2D.html" title="class in javafx.geometry">Point2D</a> p)</pre> <div class="block">Tests if the specified point is inside the boundary of <code>Bounds</code>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>p</code> - the specified point to be tested</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>true if the specified point is inside the boundary of this <code>Bounds</code>; false otherwise.</dd> </dl> </li> </ul> <a name="contains-javafx.geometry.Point3D-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>contains</h4> <pre>public abstract boolean contains(<a href="../../javafx/geometry/Point3D.html" title="class in javafx.geometry">Point3D</a> p)</pre> <div class="block">Tests if the specified point is inside the boundary of <code>Bounds</code>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>p</code> - the specified 3D point to be tested</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>true if the specified point is inside the boundary of this <code>Bounds</code>; false otherwise.</dd> </dl> </li> </ul> <a name="contains-double-double-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>contains</h4> <pre>public abstract boolean contains(double x, double y)</pre> <div class="block">Tests if the specified <code>(x, y)</code> coordinates are inside the boundary of <code>Bounds</code>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>x</code> - the specified x coordinate to be tested</dd> <dd><code>y</code> - the specified y coordinate to be tested</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>true if the specified <code>(x, y)</code> coordinates are inside the boundary of this <code>Bounds</code>; false otherwise.</dd> </dl> </li> </ul> <a name="contains-double-double-double-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>contains</h4> <pre>public abstract boolean contains(double x, double y, double z)</pre> <div class="block">Tests if the specified <code>(x, y, z)</code> coordinates are inside the boundary of <code>Bounds</code>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>x</code> - the specified x coordinate to be tested</dd> <dd><code>y</code> - the specified y coordinate to be tested</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>true if the specified <code>(x, y)</code> coordinates are inside the boundary of this <code>Bounds</code>; false otherwise.</dd> </dl> </li> </ul> <a name="contains-javafx.geometry.Bounds-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>contains</h4> <pre>public abstract boolean contains(<a href="../../javafx/geometry/Bounds.html" title="class in javafx.geometry">Bounds</a> b)</pre> <div class="block">Tests if the interior of this <code>Bounds</code> entirely contains the specified Bounds, <code>b</code>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>b</code> - The specified Bounds</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>true if the specified Bounds, <code>b</code>, is inside the boundary of this <code>Bounds</code>; false otherwise.</dd> </dl> </li> </ul> <a name="contains-double-double-double-double-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>contains</h4> <pre>public abstract boolean contains(double x, double y, double w, double h)</pre> <div class="block">Tests if the interior of this <code>Bounds</code> entirely contains the specified rectangular area.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>x</code> - the x coordinate of the upper-left corner of the specified rectangular area</dd> <dd><code>y</code> - the y coordinate of the upper-left corner of the specified rectangular area</dd> <dd><code>w</code> - the width of the specified rectangular area</dd> <dd><code>h</code> - the height of the specified rectangular area</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>true if the interior of this <code>Bounds</code> entirely contains the specified rectangular area; false otherwise.</dd> </dl> </li> </ul> <a name="contains-double-double-double-double-double-double-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>contains</h4> <pre>public abstract boolean contains(double x, double y, double z, double w, double h, double d)</pre> <div class="block">Tests if the interior of this <code>Bounds</code> entirely contains the specified rectangular area.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>x</code> - the x coordinate of the upper-left corner of the specified rectangular volume</dd> <dd><code>y</code> - the y coordinate of the upper-left corner of the specified rectangular volume</dd> <dd><code>z</code> - the z coordinate of the upper-left corner of the specified rectangular volume</dd> <dd><code>w</code> - the width of the specified rectangular volume</dd> <dd><code>h</code> - the height of the specified rectangular volume</dd> <dd><code>d</code> - the depth of the specified rectangular volume</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>true if the interior of this <code>Bounds</code> entirely contains the specified rectangular area; false otherwise.</dd> </dl> </li> </ul> <a name="intersects-javafx.geometry.Bounds-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>intersects</h4> <pre>public abstract boolean intersects(<a href="../../javafx/geometry/Bounds.html" title="class in javafx.geometry">Bounds</a> b)</pre> <div class="block">Tests if the interior of this <code>Bounds</code> intersects the interior of a specified Bounds, <code>b</code>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>b</code> - The specified Bounds</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>true if the interior of this <code>Bounds</code> and the interior of the specified Bounds, <code>b</code>, intersect.</dd> </dl> </li> </ul> <a name="intersects-double-double-double-double-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>intersects</h4> <pre>public abstract boolean intersects(double x, double y, double w, double h)</pre> <div class="block">Tests if the interior of this <code>Bounds</code> intersects the interior of a specified rectangular area.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>x</code> - the x coordinate of the upper-left corner of the specified rectangular area</dd> <dd><code>y</code> - the y coordinate of the upper-left corner of the specified rectangular area</dd> <dd><code>w</code> - the width of the specified rectangular area</dd> <dd><code>h</code> - the height of the specified rectangular area</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>true if the interior of this <code>Bounds</code> and the interior of the rectangular area intersect.</dd> </dl> </li> </ul> <a name="intersects-double-double-double-double-double-double-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>intersects</h4> <pre>public abstract boolean intersects(double x, double y, double z, double w, double h, double d)</pre> <div class="block">Tests if the interior of this <code>Bounds</code> intersects the interior of a specified rectangular area.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>x</code> - the x coordinate of the upper-left corner of the specified rectangular volume</dd> <dd><code>y</code> - the y coordinate of the upper-left corner of the specified rectangular volume</dd> <dd><code>z</code> - the z coordinate of the upper-left corner of the specified rectangular volume</dd> <dd><code>w</code> - the width of the specified rectangular volume</dd> <dd><code>h</code> - the height of the specified rectangular volume</dd> <dd><code>d</code> - the depth of the specified rectangular volume</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>true if the interior of this <code>Bounds</code> and the interior of the rectangular area intersect.</dd> </dl> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/Bounds.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../deprecated-list.html">Deprecated</a></li> <li><a href="../../index-all.html">Index</a></li> <li><a href="../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">JavaFX 8</div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../javafx/geometry/BoundingBox.html" title="class in javafx.geometry"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../javafx/geometry/Dimension2D.html" title="class in javafx.geometry"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../index.html?javafx/geometry/Bounds.html" target="_top">Frames</a></li> <li><a href="Bounds.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li>Nested | </li> <li>Field | </li> <li><a href="#constructor.summary">Constr</a> | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li><a href="#constructor.detail">Constr</a> | </li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small><font size="-1"><a href="http://bugreport.java.com/bugreport/" target="_blank">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="https://docs.oracle.com/javase/8/docs/index.html" target="_blank">Java SE Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.<br> <a href="https://docs.oracle.com/javase/8/docs/legal/cpyr.html" target="_blank">Copyright</a> © 2008, 2018, Oracle and/or its affiliates. All rights reserved. Use is subject to <a href="http://download.oracle.com/otndocs/jcp/java_se-8-mrel-spec/license.html" target="_blank">license terms</a>. Also see the <a target="_blank" href="http://www.oracle.com/technetwork/java/redist-137594.html" target="_blank">documentation redistribution policy</a>.</font></small></p> </body> </html>