Changeset 2935 for trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/Model/OperatorShape.cs
- Timestamp:
- 03/05/10 13:08:50 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/Model/OperatorShape.cs
r2934 r2935 29 29 using HeuristicLab.Netron; 30 30 31 31 32 namespace HeuristicLab.Operators.Views.GraphVisualization { 32 33 public class OperatorShape : ComplexShapeBase { … … 54 55 this.expandIconMaterial.Collapsed = value; 55 56 } 57 } 58 59 private Color lineColor; 60 public Color LineColor { 61 get { return this.lineColor; } 62 set { this.lineColor = value; } 63 } 64 65 private float lineWidth; 66 public float LineWidth { 67 get { return this.lineWidth; } 68 set { this.lineWidth = value; } 56 69 } 57 70 … … 205 218 g.SmoothingMode = SmoothingMode.HighQuality; 206 219 207 Pen pen; 208 if (Hovered) 209 pen = ArtPalette.HighlightPen; 210 else 211 pen = mPenStyle.DrawingPen(); 220 Pen pen = new Pen(lineColor,lineWidth); 212 221 213 222 GraphicsPath path = new GraphicsPath();
Note: See TracChangeset
for help on using the changeset viewer.