diff options
author | Sven Gothel <[email protected]> | 2023-12-24 16:10:09 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-12-24 16:10:09 +0100 |
commit | fdedf6cff64efc1d7ab554c2bf084392a099ef0f (patch) | |
tree | 11929a2c2015ade4c3dee4e6ed8ec641540ec40f /src/graphui | |
parent | a782f343aeecbfdb640198bcc73794a90f63730d (diff) |
GraphUI Shape: Allow overriding of setColor(..) and setPressedColorMod(..)
Diffstat (limited to 'src/graphui')
-rw-r--r-- | src/graphui/classes/com/jogamp/graph/ui/Shape.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/Shape.java b/src/graphui/classes/com/jogamp/graph/ui/Shape.java index ee7f946c2..0bdb9f985 100644 --- a/src/graphui/classes/com/jogamp/graph/ui/Shape.java +++ b/src/graphui/classes/com/jogamp/graph/ui/Shape.java @@ -1078,7 +1078,7 @@ public abstract class Shape { * Default RGBA value is 0.60f, 0.60f, 0.60f, 1.0f * </p> */ - public final Shape setColor(final float r, final float g, final float b, final float a) { + public Shape setColor(final float r, final float g, final float b, final float a) { this.rgbaColor.set(r, g, b, a); return this; } @@ -1092,7 +1092,7 @@ public abstract class Shape { * Default RGBA value is 0.60f, 0.60f, 0.60f, 1.0f * </p> */ - public final Shape setColor(final Vec4f c) { + public Shape setColor(final Vec4f c) { this.rgbaColor.set(c); return this; } @@ -1106,7 +1106,7 @@ public abstract class Shape { * Default RGBA value is 0.70f, 0.70f, 0.70f, 0.8f * </p> */ - public final Shape setPressedColorMod(final float r, final float g, final float b, final float a) { + public Shape setPressedColorMod(final float r, final float g, final float b, final float a) { this.pressedRGBAModulate.set(r, g, b, a); return this; } |