- Timestamp:
- 12/16/08 19:47:11 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Visualization/RectangleShape.cs
r984 r996 6 6 private double z; 7 7 private Color color; 8 private int opacity = 100;8 private int opacity = 255; 9 9 10 10 public RectangleShape(double x1, double y1, double x2, double y2, double z, Color color) { … … 19 19 20 20 public void Draw(Graphics graphics, Rectangle viewport, RectangleD clippingArea) { 21 Color brushColor = Color.FromArgb( 50, color);21 Color brushColor = Color.FromArgb(opacity, color); 22 22 23 23 using (Pen pen = new Pen(color, 1)) … … 35 35 } 36 36 37 public int Opacity { 38 get { return opacity; } 39 set { opacity = value; } 40 } 41 37 42 public RectangleD Rectangle { 38 43 get { return rectangle; }
Note: See TracChangeset
for help on using the changeset viewer.