te
This commit is contained in:
parent
01151e679b
commit
57b2f0400e
265 changed files with 22828 additions and 6 deletions
33
Unused/Decal.Adapter/RegionChange3DEventArgs.cs
Normal file
33
Unused/Decal.Adapter/RegionChange3DEventArgs.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue