Ejemplo n.º 1
0
 public void SetCastableDetectionArea(System.Windows.Rect captureRect)
 {
     this.CastableDetectionArea = new Rect(
         (int)captureRect.X,
         (int)captureRect.Y,
         (int)captureRect.Width,
         (int)captureRect.Height
         );
 }
Ejemplo n.º 2
0
 public void SetCaptureRect(System.Windows.Rect captureRect)
 {
     this.CaptureRect = new Rect(
         (int)captureRect.X,
         (int)captureRect.Y,
         (int)captureRect.Width,
         (int)captureRect.Height
         );
 }