Changeset 10748 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/TextLabel.java
- Timestamp:
- 2016-08-06T19:21:33+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/TextLabel.java
r9371 r10748 147 147 float alpha = c.get(TEXT_OPACITY, 1f, Float.class); 148 148 color = new Color(color.getRed(), color.getGreen(), 149 color.getBlue(), Utils.color _float2int(alpha));149 color.getBlue(), Utils.colorFloat2int(alpha)); 150 150 151 151 Float haloRadius = c.get(TEXT_HALO_RADIUS, null, Float.class); … … 158 158 float haloAlpha = c.get(TEXT_HALO_OPACITY, 1f, Float.class); 159 159 haloColor = new Color(haloColor.getRed(), haloColor.getGreen(), 160 haloColor.getBlue(), Utils.color _float2int(haloAlpha));160 haloColor.getBlue(), Utils.colorFloat2int(haloAlpha)); 161 161 } 162 162
Note:
See TracChangeset
for help on using the changeset viewer.