aboutsummaryrefslogtreecommitdiffstats
path: root/src/graphui/classes/com/jogamp/graph/ui/layout/Padding.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphui/classes/com/jogamp/graph/ui/layout/Padding.java')
-rw-r--r--src/graphui/classes/com/jogamp/graph/ui/layout/Padding.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/layout/Padding.java b/src/graphui/classes/com/jogamp/graph/ui/layout/Padding.java
index 6aec0e398..c59f98d1e 100644
--- a/src/graphui/classes/com/jogamp/graph/ui/layout/Padding.java
+++ b/src/graphui/classes/com/jogamp/graph/ui/layout/Padding.java
@@ -96,11 +96,11 @@ public class Padding {
/** Return height of vertical values bottom + top. */
public float height() { return bottom + top; }
- public boolean zeroSumWidth() { return FloatUtil.isZero( width() ); };
+ public boolean zeroWidth() { return FloatUtil.isZero( width() ); };
- public boolean zeroSumHeight() { return FloatUtil.isZero( height() ); };
+ public boolean zeroHeight() { return FloatUtil.isZero( height() ); };
- public boolean zeroSumSize() { return zeroSumWidth() && zeroSumHeight(); }
+ public boolean zeroSize() { return zeroWidth() && zeroHeight(); }
@Override
public String toString() { return "Padding[t "+top+", r "+right+", b "+bottom+", l "+left+"]"; }