Changeset 11459 in josm for trunk/src/org
- Timestamp:
- 2017-01-12T02:28:28+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/gpx/GpxDrawHelper.java
r11452 r11459 862 862 protected static Color darkerColor(Color in, float adjust) { 863 863 864 final float r = ( (float) in.getRed()/255);865 final float g = ( (float) in.getGreen()/255);866 final float b = ( (float) in.getBlue()/255);864 final float r = (float) in.getRed()/255; 865 final float g = (float) in.getGreen()/255; 866 final float b = (float) in.getBlue()/255; 867 867 868 868 return new Color(r*adjust, g*adjust, b*adjust);
Note:
See TracChangeset
for help on using the changeset viewer.