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