view flys-artifacts/src/main/java/de/intevation/flys/themes/LineStyle.java @ 4443:af728a5e0329

Introduce a new Interface to abstract the data to curve generation A Processor class should be used to generate curves from a specific data input (e.g. WQKm).
author Björn Ricks <bjoern.ricks@intevation.de>
date Wed, 07 Nov 2012 14:07:52 +0100
parents 0b9b2a0c4e64
children
line wrap: on
line source
package de.intevation.flys.themes;

import java.awt.Color;

public class LineStyle {
    protected Color lineColor;
    protected int   lineWidth;

    public LineStyle(Color color, int width) {
        this.lineColor = color;
        this.lineWidth = width;
    }

    public int getWidth() {
        return lineWidth;
    }

    public Color getColor() {
        return lineColor;
    }
}

http://dive4elements.wald.intevation.org