- Timestamp:
- 02/28/09 21:21:59 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Visualization/HorizontalLineShape.cs
r1187 r1233 1 1 using System.Drawing; 2 using System.Drawing.Drawing2D;3 2 4 3 namespace HeuristicLab.Visualization { 5 4 public class MinMaxLineShape : WorldShape { 6 private LineShape minLineShape;7 private LineShape maxLineShape;5 private readonly LineShape minLineShape; 6 private readonly LineShape maxLineShape; 8 7 9 8 /// <summary> 10 9 /// Initializes the HorizontalLineShape. 11 10 /// </summary> 12 /// <param name="z">Z-order</param>13 11 /// <param name="color">color for the LineShape</param> 14 12 /// <param name="yMin">y value for lower line</param> … … 16 14 /// <param name="thickness">line thickness</param> 17 15 /// <param name="style">line style</param> 18 public MinMaxLineShape(double yMin, double yMax, double z,Color color, int thickness, DrawingStyle style) {19 minLineShape = new LineShape(0, yMin, 1, yMin, z,color, thickness, style);20 maxLineShape = new LineShape(0, yMax, 1, yMax, z,color, thickness, style);16 public MinMaxLineShape(double yMin, double yMax, Color color, int thickness, DrawingStyle style) { 17 minLineShape = new LineShape(0, yMin, 1, yMin, color, thickness, style); 18 maxLineShape = new LineShape(0, yMax, 1, yMax, color, thickness, style); 21 19 shapes.Add(minLineShape); 22 20 shapes.Add(maxLineShape);
Note: See TracChangeset
for help on using the changeset viewer.