source: josm/trunk/src/org/openstreetmap/josm/gui/mappaint/AreaElemStyle.java@ 999

Last change on this file since 999 was 885, checked in by stoecker, 16 years ago

added multi-style mappaint support. Closes #1186

  • Property svn:eol-style set to native
File size: 650 bytes
Line 
1package org.openstreetmap.josm.gui.mappaint;
2import java.awt.Color;
3
4public class AreaElemStyle extends ElemStyle
5{
6 public Color color;
7 public LineElemStyle line = null;
8
9 public AreaElemStyle (AreaElemStyle a, long maxScale, long minScale) {
10 this.color = a.color;
11 this.priority = a.priority;
12 this.maxScale = maxScale;
13 this.minScale = minScale;
14 }
15
16 public AreaElemStyle(AreaElemStyle a, LineElemStyle l)
17 {
18 this.color = a.color;
19 this.priority = a.priority;
20 this.maxScale = a.maxScale;
21 this.minScale = a.minScale;
22 this.line = l;
23 }
24
25 public AreaElemStyle() { init(); }
26
27 public void init()
28 {
29 color = null;
30 priority = 0;
31 }
32}
Note: See TracBrowser for help on using the repository browser.