public MapWinGIS.tkFillStipple Hatch;//填充方法 public ShapefileFillStippleBreak(string iValue, bool iTransparent, System.Drawing.Color iLineColor, MapWinGIS.tkFillStipple iHatch) { Value = iValue; Transparent = iTransparent; LineColor = iLineColor; Hatch = iHatch; }
public void AddHatch(string Value, bool Transparent, System.Drawing.Color LineColor, MapWinGIS.tkFillStipple Hatch) { if (ValueHatchMap.Contains(Value)) { ValueHatchMap[Value] = new ShapefileFillStippleBreak(Value, Transparent, LineColor, Hatch); } else { ValueHatchMap.Add(Value, new ShapefileFillStippleBreak(Value, Transparent, LineColor, Hatch)); } }