/// <summary> /// Constructor. /// </summary> public LegendBase() { this.Font = PlotSurface2D.DefaultTextFont; this.BackgroundColor = Color.White; this.BorderColor = Color.Black; this.TextColor = Color.Black; this.borderStyle_ = BorderType.Shadow; this.autoScaleText_ = false; }
/// <summary> /// Constructor. /// </summary> public LegendBase() { this.Font = new Font( new FontFamily("Arial"), 10, FontStyle.Regular, GraphicsUnit.Pixel ); this.BackgroundColor = Color.White; this.BorderColor = Color.Black; this.TextColor = Color.Black; this.borderStyle_ = BorderType.Shadow; this.autoScaleText_ = false; }
/// <summary> /// Constructor. /// </summary> public LegendBase() { this.Font = new Font( FontFamily.GenericSansSerif, 10, FontStyle.Regular ); this.BackgroundColor = Color.White; this.BorderColor = Color.Black; this.TextColor = Color.Black; this.borderStyle_ = BorderType.Shadow; this.autoScaleText_ = false; }