Changeset 3879 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2011-02-09T19:13:04+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/Utils.java
r3869 r3879 138 138 * convert float range 0 <= x <= 1 to integer range 0..255 139 139 * when dealing with colors and color alpha value 140 * @return null if val is null, the corresponding int if val is in the 141 * range 0...1. If val is outside that range, return 255 140 142 */ 141 143 public static Integer color_float2int(Float val) {
Note:
See TracChangeset
for help on using the changeset viewer.