From ab29e3b34ea29d35b04ad2771ca20e49f1a59351 Mon Sep 17 00:00:00 2001 From: Sven Göthel Date: Fri, 26 Jan 2024 02:06:58 +0100 Subject: GraphUI Layout: Emphasize whether a value/parameter is scaled or unscaled in API doc to ease usage --- src/graphui/classes/com/jogamp/graph/ui/Shape.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/graphui/classes/com/jogamp/graph/ui/Shape.java') diff --git a/src/graphui/classes/com/jogamp/graph/ui/Shape.java b/src/graphui/classes/com/jogamp/graph/ui/Shape.java index 05d562363..3ef55c1f6 100644 --- a/src/graphui/classes/com/jogamp/graph/ui/Shape.java +++ b/src/graphui/classes/com/jogamp/graph/ui/Shape.java @@ -330,10 +330,10 @@ public abstract class Shape { public final Shape setVisible(final boolean v) { return setIO(IO_VISIBLE, v); } /** - * Sets the padding for this shape, which is included in {@link #getBounds()} and also includes the border. Default is zero. - * + * Sets the unscaled padding for this shape, which is included in unscaled {@link #getBounds()} and also includes the border. Default is zero. + *

* Method issues {@link #markShapeDirty()}. - * + *

* @param padding distance of shape to the border, i.e. padding * @return this shape for chaining * @see #getPadding() @@ -346,7 +346,7 @@ public abstract class Shape { } /** - * Returns {@link Padding} of this shape, which is included in {@link #getBounds()B} and also includes the border. Default is zero. + * Returns unscaled {@link Padding} of this shape, which is included in unscaled {@link #getBounds()} and also includes the border. Default is zero. * @see #setPaddding(Padding) * @see #hasPadding() */ -- cgit v1.2.3