尺寸测量功能界面
This commit is contained in:
45
CanFly.Canvas/Shape/HighlightSetting.cs
Normal file
45
CanFly.Canvas/Shape/HighlightSetting.cs
Normal file
@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CanFly.Canvas.Shape
|
||||
{
|
||||
|
||||
public enum PointTypeEnum
|
||||
{
|
||||
SQUARE = 0,
|
||||
ROUND = 1,
|
||||
}
|
||||
|
||||
|
||||
public enum HighlightModeEnum
|
||||
{
|
||||
MOVE_VERTEX = 0,
|
||||
NEAR_VERTEX = 1,
|
||||
}
|
||||
|
||||
|
||||
[Serializable]
|
||||
public class HighlightSetting
|
||||
{
|
||||
|
||||
|
||||
public float PointSize { get; set; }
|
||||
|
||||
|
||||
public PointTypeEnum PointType { get; set; }
|
||||
|
||||
|
||||
|
||||
public HighlightSetting(float pointSize, PointTypeEnum pointType)
|
||||
{
|
||||
this.PointSize = pointSize;
|
||||
PointType = pointType;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user