CPF/CPF.ReoGrid/Interaction/ResizeThumb.cs
2024-06-24 10:15:59 +08:00

25 lines
461 B
C#

using System;
using CPF.Drawing;
namespace CPF.ReoGrid.Interaction
{
public struct ResizeThumb
{
public ResizeThumb(ResizeThumbPosition position, Point point)
{
this.Position = position;
this.Point = point;
}
public ResizeThumb(ResizeThumbPosition position, float width, float height)
{
this.Position = position;
this.Point = new Point(ref width, ref height);
}
public ResizeThumbPosition Position;
public Point Point;
}
}