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