- Timestamp:
- 11/29/08 13:39:39 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Visualization.Test/LegendForm.cs
r865 r872 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using System.Linq; 7 using System.Text; 1 using System.Drawing; 8 2 using System.Windows.Forms; 9 3 … … 12 6 public LegendForm() { 13 7 InitializeComponent(); 8 canvasUI.MainCanvas.WorldShape = new WorldShape(new RectangleD(0, 0, 800, 600), new RectangleD(0, 0, 800, 600)); 9 10 CreateLegendShape(); 11 12 } 13 14 private void CreateLegendShape() { 15 WorldShape mainShape = canvasUI.MainCanvas.WorldShape; 16 LegendShape ls = new LegendShape(0, 0, 100, 100, 0, Color.White); 17 ls.AddLegendItem(new LegendItem("test", Color.Black)); 18 19 mainShape.AddShape(ls); 14 20 } 15 21 }
Note: See TracChangeset
for help on using the changeset viewer.