尺寸测量功能界面

This commit is contained in:
2025-03-16 17:32:09 +08:00
parent 0ac00af0ad
commit 25cd61c5cb
63 changed files with 12697 additions and 36 deletions

View File

@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CanFly.Canvas.Model
{
/// <summary>
/// 点击的区域
/// </summary>
internal enum ClickArea
{
/// <summary>
/// 未知区域
/// </summary>
AREA_UNKNOW,
/// <summary>
/// 图片区域
/// </summary>
AREA_IMG,
/// <summary>
/// 缺陷元素区域
/// </summary>
AREA_DEFECT,
}
}

View File

@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LabelSharp.Config
{
public static class CustomCursors
{
public static Cursor CURSOR_DEFAULT = Cursors.Arrow;
public static Cursor CURSOR_POINT = Cursors.Hand;
public static Cursor CURSOR_DRAW = Cursors.Cross;
public static Cursor CURSOR_MOVE = Cursors.Hand;
public static Cursor CURSOR_GRAB = Cursors.Hand;
}
}

View File

@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CanFly.Canvas.Model.Exception
{
internal class InvalidShapeException : System.Exception
{
}
}