Project: SWT
Bug 219437 Javadocs of get/setAlpha(..) should specify range of value
Reported: 2008-02-19 09:35:33 | Status: resolved fixed

HEAD The Javadocs of all get/setAlpha(..) APIs (on Shell, GC, ImageData) should better specify the "alpha value": - allowed range - meaning (is 0 fully opaque and 255 fully transparent or vice versa?) ImageData.setAlpha(..) even throws an IAE when alpha is not in [0, 255], but this is not in the Javadoc.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/ImageData.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java