Mk0.Tools.ImageCropper/Mk0.Tools.ImageCropper/StatusEventArg.cs

21 lines
484 B
C#

using System;
using System.Drawing;
namespace Mk0.Tools.ImageCropper
{
/// <summary>
/// Passes the cropping rectangle and current cursor position to the host object
/// </summary>
public class StatusEventArg : EventArgs
{
public readonly Rectangle CroppingRect;
public readonly Point CursorPos;
public StatusEventArg(Point pos, Rectangle crop)
{
CursorPos = pos;
CroppingRect = crop;
}
}
}