Ignore:
Timestamp:
2007-07-15T04:42:24+02:00 (17 years ago)
Author:
ulf
Message:

two "line" improvements:

  • fix the annotate attribute handling (simply had no effect)
  • add a dashed attribute, e.g. for railway lines
File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/mappaint/src/mappaint/LineElemStyle.java

    r2787 r3593  
    77        int realWidth = 0; //the real width of this line in meter
    88        Color colour;
     9        boolean dashed = false;
    910
    10         public LineElemStyle (int width, int realWidth, Color colour, int minZoom)
     11        public LineElemStyle (int width, int realWidth, Color colour, boolean dashed, int minZoom)
    1112        {
    1213                this.width = width;
    1314                this.realWidth = realWidth;
    1415                this.colour = colour;
     16                this.dashed = dashed;
    1517                this.minZoom = minZoom;
    1618        }
     
    3335        @Override public String toString()
    3436        {
    35                 return "LineElemStyle:  width= " + width +  " colour=" + colour;
     37                return "LineElemStyle:  width= " + width + "realWidth= " + realWidth +  " colour=" + colour + " dashed=" + dashed;
    3638        }
    3739}
Note: See TracChangeset for help on using the changeset viewer.