001/*
002 * To change this template, choose Tools | Templates
003 * and open the template in the editor.
004 */
005package armyc2.c5isr.web.render.utilities;
006
007//import java.awt.Color;
008//import java.awt.Stroke;
009//import java.awt.geom.Point2D;
010
011import armyc2.c5isr.graphics2d.*;
012import java.util.ArrayList;
013import armyc2.c5isr.renderer.utilities.Color;
014import armyc2.c5isr.graphics2d.Point2D;
015
016/**
017 *
018*
019 */
020public class LineInfo {
021    
022    private Color lineColor = null;
023    private Color fillColor = null;
024    //private int lineWidth = 2;
025    private BasicStroke stroke = null;
026    
027    private ArrayList<ArrayList<Point2D>> _Polylines = null;
028    
029    public LineInfo()
030    {
031       
032        
033    }
034    
035    public void setLineColor(Color value)
036    {
037        lineColor=value;
038    }
039    public Color getLineColor()
040    {
041        return lineColor;
042    }
043    
044    public void setFillColor(Color value)
045    {
046        fillColor=value;
047    }
048    public Color getFillColor()
049    {
050        return fillColor;
051    }
052    
053    public BasicStroke getStroke()
054    {
055        return stroke;
056    }
057    //client will use this to do fills (if it is not null)
058/*
059    public TexturePaint getTexturePaint()
060    {
061        return texturePaint;
062    }
063    public void setTexturePaint(TexturePaint value)
064    {
065        texturePaint=value;
066    }*/
067
068     public void setStroke(BasicStroke s)
069    {
070        stroke=s;
071    }
072    
073    public ArrayList<ArrayList<Point2D>> getPolylines()
074    {
075        return _Polylines;
076    }
077
078    public void setPolylines(ArrayList<ArrayList<Point2D>> value)
079    {
080        _Polylines = value;
081    }
082    
083}