This commit is contained in:
erik 2025-06-09 02:03:11 +02:00
parent 01151e679b
commit 57b2f0400e
265 changed files with 22828 additions and 6 deletions

View file

@ -0,0 +1,33 @@
using System;
using System.Drawing;
namespace Decal.Adapter;
public class RegionChange3DEventArgs : EventArgs
{
private int myLeft;
private int myRight;
private int myTop;
private int myBottom;
public int Left => myLeft;
public int Right => myRight;
public int Top => myTop;
public int Bottom => myBottom;
public Rectangle Rect => new Rectangle(myLeft, myTop, myRight - myLeft, myBottom - myTop);
internal RegionChange3DEventArgs(int left, int top, int right, int bottom)
{
myLeft = left;
myTop = top;
myRight = right;
myBottom = bottom;
}
}