changeset 5232:043bd9ac4de2

[DOC-ONLY] Update Bounds class doc to discuss empty bounds. It is also described in isEmpty method documentation and already covered by tests.
author rbair
date Wed, 02 Oct 2013 13:40:16 -0700
parents 48e93b84056d
children e1f9a085f399
files modules/graphics/src/main/java/javafx/geometry/Bounds.java
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/java/javafx/geometry/Bounds.java	Wed Oct 02 13:37:53 2013 -0700
+++ b/modules/graphics/src/main/java/javafx/geometry/Bounds.java	Wed Oct 02 13:40:16 2013 -0700
@@ -27,7 +27,10 @@
 
 /**
  * The base class for objects that are used to describe the bounds of a node or
- * other scene graph object.
+ * 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".
+ * 
  * @since JavaFX 2.0
  */
 public abstract class Bounds {