尺寸测量功能界面
This commit is contained in:
32
CanFly.Canvas/Model/ClickArea.cs
Normal file
32
CanFly.Canvas/Model/ClickArea.cs
Normal 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,
|
||||
}
|
||||
}
|
22
CanFly.Canvas/Model/Cursor.cs
Normal file
22
CanFly.Canvas/Model/Cursor.cs
Normal 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;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
12
CanFly.Canvas/Model/Exception/InvalidShapeException.cs
Normal file
12
CanFly.Canvas/Model/Exception/InvalidShapeException.cs
Normal 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
|
||||
{
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user