12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- using PaintDotNet.Annotation.Enum;
- using PaintDotNet.Base.SettingModel;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace PaintDotNet.Annotation.relationModel
- {
- /// <summary>
- /// 描述一级标注和二级标注的关系
- /// </summary>
- public class LabelRelationModel
- {
- /// <summary>
- /// 编号
- /// </summary>
- public int id;
- /// <summary>
- /// 一级标注的名称(文本、标记、直线、曲线、箭头、圆、多边形)
- /// </summary>
- public string name;
- public List<ChildLabel> childLabel;
-
- public class ChildLabel
- {
- /// <summary>
- /// 二级标注的名称
- /// </summary>
- public string name;
- /// <summary>
- /// 二级标注对应的枚举
- /// </summary>
- public DrawToolType drawToolType;
- /// <summary>
- /// 二级标注对应的设置的内部类的类型
- /// </summary>
- public Type type;
- }
- }
- }
|