Changeset 30157 in osm for applications/editors/josm/plugins/smed2/src/render/Signals.java
- Timestamp:
- 2013-12-29T12:52:10+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed2/src/render/Signals.java
r30150 r30157 64 64 } 65 65 if ((Renderer.zoom >= 15) && !bstr.isEmpty()) { 66 Renderer.labelText(feature, bstr, new Font("Arial", Font.PLAIN, 40), LabelStyle.NONE,Color.black, null, new Delta(Handle.BR, AffineTransform.getTranslateInstance(-30, -30)));66 Renderer.labelText(feature, bstr, new Font("Arial", Font.PLAIN, 40),Color.black, new Delta(Handle.BR, AffineTransform.getTranslateInstance(-30, -30))); 67 67 } 68 68 } … … 175 175 if (Renderer.zoom >= 15) { 176 176 if (vais) { 177 Renderer.labelText(feature, "V-AIS", new Font("Arial", Font.PLAIN, 40), LabelStyle.NONE,Color.black, null, new Delta(Handle.BC, AffineTransform.getTranslateInstance(0, 70)));177 Renderer.labelText(feature, "V-AIS", new Font("Arial", Font.PLAIN, 40), Color.black, new Delta(Handle.BC, AffineTransform.getTranslateInstance(0, 70))); 178 178 } 179 179 if (!bstr.isEmpty()) { 180 Renderer.labelText(feature, bstr, new Font("Arial", Font.PLAIN, 40), LabelStyle.NONE,Color.black, null, new Delta(Handle.BR, AffineTransform.getTranslateInstance(-30, -70)));180 Renderer.labelText(feature, bstr, new Font("Arial", Font.PLAIN, 40), Color.black, new Delta(Handle.BR, AffineTransform.getTranslateInstance(-30, -70))); 181 181 } 182 182 }
Note:
See TracChangeset
for help on using the changeset viewer.
