Changeset 11717 in josm for trunk/src


Ignore:
Timestamp:
2017-03-13T14:17:11+01:00 (8 years ago)
Author:
michael2402
Message:

Add Javadoc comments to text label.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/TextLabel.java

    r11692 r11717  
    2525    public static final LabelCompositionStrategy AUTO_LABEL_COMPOSITION_STRATEGY = new DeriveLabelFromNameTagsCompositionStrategy();
    2626
    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}.
    2829     * Check for null before accessing.
    2930     */
    3031    public LabelCompositionStrategy labelCompositionStrategy;
    31     /** the font to be used when rendering*/
     32    /**
     33     * the font to be used when rendering
     34     */
    3235    public Font font;
     36    /**
     37     * The x offset of the text.
     38     */
    3339    public int xOffset;
     40    /**
     41     * The y offset of the text.
     42     */
    3443    public int yOffset;
     44    /**
     45     * The color to draw the text in, includes alpha.
     46     */
    3547    public Color color;
     48    /**
     49     * The radius of the halo effect.
     50     */
    3651    public Float haloRadius;
     52    /**
     53     * The color of the halo effect.
     54     */
    3755    public Color haloColor;
    3856
Note: See TracChangeset for help on using the changeset viewer.