public SymbolObj(ZedGraph.SymbolType type, Color color, PointF position, float size) { this.symbol = new ZedGraph.Symbol(type, color); this.symbol.Size = size; if ((type == SymbolType.Plus || type == SymbolType.Star || type == SymbolType.HDash || type == SymbolType.XCross || type == SymbolType.VDash) && size >= 4) { this.symbol.Border.Width = 3f; } this.symbol.Fill.IsVisible = true; this.symbol.Fill.Color = color; this.Location.X = position.X; this.Location.Y = position.Y; }
public SymbolObj(SymbolObj rhs) : base(rhs) { this.symbol = new Symbol(rhs.symbol); }