NetAutoGUI/Rectangle.cs

(完整代码) 471B

namespace NetAutoGUI
{
	public record Rectangle(int X, int Y, int Width, int Height)
	{
		public void Deconstruct(out int x, out int y, out int width, out int height)
		{
			x = X;
			y = Y;
			width = Width;
			height = Height;
		}

		/// <summary>
		/// Center point of the Rectangle
		/// </summary>
		public Location Center
		{
			get
			{
				int centerX = X + Width / 2;
				int centerY = Y + Height / 2;
				return new Location(centerX, centerY);
			}
		}
	}
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。