Beispiel #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
         );
 }
Beispiel #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
         );
 }