コード例 #1
0
 public SSSelectionAdorner(SSScreenShotCanvas adornedElement)
     : base(adornedElement)
 {
     _pen           = new Pen((Brush)Brushes.DarkGray, 1.0);
     _pen.DashStyle = DashStyles.Solid;
     _brush         = (Brush) new SolidColorBrush(Colors.LightGray);
     _brush.Opacity = 0.25;
     _canvas        = adornedElement;
 }
コード例 #2
0
 public SSSelectionAdorner(SSScreenShotCanvas adornedElement, Point?start)
     : this(adornedElement)
 {
     _start = start;
 }