-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.2.1
-
None
-
generic
-
generic
The methods java.awt.Color.brighter() and Color.darker() always return a Color object with an alpha value of 255 (fully opaque), regardless of the alpha value of the original Color. This is counter-intuitive and not explained by the spec. Given the current description of these methods, it would seem most reasonable for the alpha value to be preserved.
See suggested fix.
###@###.### 2003-01-23
See suggested fix.
###@###.### 2003-01-23
- duplicates
-
JDK-4774180 Alpha value lost when calling Color.brighter() or Color.darker()
-
- Closed
-