source: josm/trunk/src/org/openstreetmap/josm/gui/mappaint/LineElemStyle.java@ 627

Last change on this file since 627 was 627, checked in by framm, 16 years ago
  • Property svn:eol-style set to native
File size: 687 bytes
Line 
1package org.openstreetmap.josm.gui.mappaint;
2import java.awt.Color;
3
4public class LineElemStyle extends ElemStyle
5{
6 public int width;
7 public int realWidth = 0; //the real width of this line in meter
8 public Color colour;
9 public boolean dashed = false;
10
11 public LineElemStyle (int width, int realWidth, Color colour, boolean dashed, long maxScale, long minScale) {
12 this.width = width;
13 this.realWidth = realWidth;
14 this.colour = colour;
15 this.dashed = dashed;
16 this.maxScale = maxScale;
17 this.minScale = minScale;
18 }
19
20 @Override public String toString() {
21 return "LineElemStyle: width= " + width + "realWidth= " + realWidth + " colour=" + colour + " dashed=" + dashed;
22 }
23}
Note: See TracBrowser for help on using the repository browser.