Esempio n. 1
0
 private void CaptureLastRegion()
 {
     if (Surface.LastRegionFillPath != null)
     {
         Result = ShapeCaptureHelpers.GetRegionImage(screenshot, Surface.LastRegionFillPath, Surface.LastRegionDrawPath, SurfaceConfig);
     }
     else
     {
         CaptureRegion(new RectangleRegion());
     }
 }
Esempio n. 2
0
 public virtual Image GetRegionImage()
 {
     return(ShapeCaptureHelpers.GetRegionImage(SurfaceImage, regionFillPath, regionDrawPath, Config));
 }