-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
P4
-
None
-
Affects Version/s: 1.2.1
-
Component/s: client-libs
-
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
-