- Timestamp:
- 2017-03-13T14:17:11+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/TextLabel.java
r11692 r11717 25 25 public static final LabelCompositionStrategy AUTO_LABEL_COMPOSITION_STRATEGY = new DeriveLabelFromNameTagsCompositionStrategy(); 26 26 27 /** the strategy for building the actual label value for a given a {@link OsmPrimitive}. 27 /** 28 * The strategy for building the actual label value for a given a {@link OsmPrimitive}. 28 29 * Check for null before accessing. 29 30 */ 30 31 public LabelCompositionStrategy labelCompositionStrategy; 31 /** the font to be used when rendering*/ 32 /** 33 * the font to be used when rendering 34 */ 32 35 public Font font; 36 /** 37 * The x offset of the text. 38 */ 33 39 public int xOffset; 40 /** 41 * The y offset of the text. 42 */ 34 43 public int yOffset; 44 /** 45 * The color to draw the text in, includes alpha. 46 */ 35 47 public Color color; 48 /** 49 * The radius of the halo effect. 50 */ 36 51 public Float haloRadius; 52 /** 53 * The color of the halo effect. 54 */ 37 55 public Color haloColor; 38 56
Note:
See TracChangeset
for help on using the changeset viewer.