- Timestamp:
- 12/18/08 23:17:23 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Visualization.Test/MainForm.cs
r865 r1038 30 30 WorldShape mainWorld = canvasUI.MainCanvas.WorldShape; 31 31 // simple rectangle shape 32 RectangleShape rect7 = new RectangleShape(5, 5, 50, 50, 0,Color.Black);32 RectangleShape rect7 = new RectangleShape(5, 5, 50, 50, Color.Black); 33 33 mainWorld.AddShape(rect7); 34 34 } … … 43 43 44 44 for (int i = 0; i < 10000; i++) { 45 RectangleShape rect = new RectangleShape(x1, y1, x1 + 0.3, y1 + 0.3, 0,Color.Maroon);45 RectangleShape rect = new RectangleShape(x1, y1, x1 + 0.3, y1 + 0.3, Color.Maroon); 46 46 x1 += 0.4; 47 47 y1 += 0.4; … … 57 57 CompositeShape middleComp = new CompositeShape(); 58 58 59 RectangleShape rect5 = new RectangleShape(400, 10, 500, 300, 0,Color.Navy);60 RectangleShape rect6 = new RectangleShape(510, 310, 580, 590, 0,Color.Magenta);59 RectangleShape rect5 = new RectangleShape(400, 10, 500, 300, Color.Navy); 60 RectangleShape rect6 = new RectangleShape(510, 310, 580, 590, Color.Magenta); 61 61 62 62 middleComp.AddShape(rect5); … … 71 71 WorldShape leftWorld = new WorldShape(new RectangleD(0, 0, 1000, 1000), new RectangleD(10, 10, 380, 590)); 72 72 73 RectangleShape fillRect = new RectangleShape(0, 0, 1000, 1000, 0,Color.LightBlue);73 RectangleShape fillRect = new RectangleShape(0, 0, 1000, 1000, Color.LightBlue); 74 74 75 RectangleShape rect1 = new RectangleShape(100, 100, 500, 500, 0,Color.Red);76 RectangleShape rect2 = new RectangleShape(800, -200, 1200, 500, 0,Color.Green);75 RectangleShape rect1 = new RectangleShape(100, 100, 500, 500, Color.Red); 76 RectangleShape rect2 = new RectangleShape(800, -200, 1200, 500, Color.Green); 77 77 78 78 CompositeShape comp1 = new CompositeShape(); 79 79 80 RectangleShape rect3 = new RectangleShape(510, 580, 590, 700, 0,Color.Blue);81 RectangleShape rect4 = new RectangleShape(600, 710, 800, 900, 0,Color.Orange);80 RectangleShape rect3 = new RectangleShape(510, 580, 590, 700, Color.Blue); 81 RectangleShape rect4 = new RectangleShape(600, 710, 800, 900, Color.Orange); 82 82 83 83 comp1.AddShape(rect3);
Note: See TracChangeset
for help on using the changeset viewer.