46 lines
678 B
C#
46 lines
678 B
C#
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;
|
|
}
|
|
|
|
|
|
}
|
|
|
|
}
|