asmrobot
2019-10-29 f25f89101a98ad815c0ae2d25e1a8dc35d53a5dd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace RichCreator.Utility.Captures
{
    /// <summary>
    /// 抓屏
    /// </summary>
    public interface ICapture
    {
        /// <summary>
        /// 截屏
        /// </summary>
        /// <returns></returns>
        Bitmap CaptureScreen();
 
        /// <summary>
        /// 截取指定区域
        /// </summary>
        /// <param name="x"></param>
        /// <param name="y"></param>
        /// <param name="width"></param>
        /// <param name="height"></param>
        /// <returns></returns>
        Bitmap CaptureScreen(Int32 x, Int32 y, Int32 width, Int32 height);
    }
}