using System.Collections.Generic; using System.Drawing; using System.Xml.Serialization; namespace PaintDotNet.Base.SettingModel.LVMModel { /// /// 视场/标注/测量 的数据的公共父类 /// [XmlRoot("ROOT")] public class TopLVMModel { /// /// 视场/标注/测量类型 /// [XmlElement("Type")] public string Type{ get; set; } /// /// 外接矩形 /// [XmlElement("Rectangle")] public RectangleF Rectangle { get; set; } /// /// 坐标集合 /// [XmlArrayAttribute("Points")] public List Points { get; set; } /// /// 起始点 /// [XmlElement("StartPoint")] public PointF StartPoint { get; set; } /// /// 结束点 /// [XmlElement("EndPoint")] public PointF EndPoint { get; set; } } }