using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; using static PaintDotNet.Base.SettingModel.MeasureStyleModel; using static PaintDotNet.Base.SettingModel.LabelStyleModel; namespace PaintDotNet.Base.SettingModel { [XmlInclude(typeof(Text))] [XmlInclude(typeof(DateMark))] [XmlInclude(typeof(TimeMark))] [XmlInclude(typeof(PointMark))] [XmlInclude(typeof(NumberMark))] [XmlInclude(typeof(GainNumber))] [XmlInclude(typeof(LineChildLine))] [XmlInclude(typeof(LineChildLineSegment))] [XmlInclude(typeof(Pencil))] [XmlInclude(typeof(Polyline))] [XmlInclude(typeof(CurveModel))] [XmlInclude(typeof(ClosedCurve))] [XmlInclude(typeof(OneWayArrow))] [XmlInclude(typeof(TwoWayArrow))] [XmlInclude(typeof(CircleModel))] [XmlInclude(typeof(Oval))] [XmlInclude(typeof(PolygonRectangle))] [XmlInclude(typeof(PolygonPolygon))] [XmlInclude(typeof(RoundedRectangle))] [XmlInclude(typeof(WorkTypeStyleModel))] [XmlInclude(typeof(WatermarkModel))] //标尺 [XmlInclude(typeof(RulerModel))] // 长度测量 [XmlInclude(typeof(MeasureLine))] [XmlInclude(typeof(MeasureLength))] [XmlInclude(typeof(MeasureHLine))] [XmlInclude(typeof(MeasureVLine))] // 多点线段 [XmlInclude(typeof(MeasureMulLine))] [XmlInclude(typeof(MeasureMulHVLine))] [XmlInclude(typeof(MeasureMulSegment))] [XmlInclude(typeof(MeasureMulVLine))] // 曲线 [XmlInclude(typeof(MeasureBrokenLine))] [XmlInclude(typeof(MeasureTraceCurve))] [XmlInclude(typeof(MeasureCurveLine))] // 点垂线 [XmlInclude(typeof(MeasurePLine))] [XmlInclude(typeof(MeasureMulPLine))] [XmlInclude(typeof(MeasureHMulPLine))] [XmlInclude(typeof(MeasureVMulPLine))] [XmlInclude(typeof(MeasurePointHLine))] // 平行线测量 [XmlInclude(typeof(MeasureParallelLine))] [XmlInclude(typeof(MeasureMulParallelLine))] [XmlInclude(typeof(MeasureVMulParallelLine))] [XmlInclude(typeof(MeasureHMulParallelLine))] // 多边形测量 [XmlInclude(typeof(MeasureClosedCurve))] [XmlInclude(typeof(MeasurePolygon))] [XmlInclude(typeof(MeasureRectangle))] [XmlInclude(typeof(MeasureRandRectangle))] [XmlInclude(typeof(MeasureSquare))] [XmlInclude(typeof(MeasureRandSquare))] [XmlInclude(typeof(MeasureTracePolygon))] // 圆形测量 [XmlInclude(typeof(MeasureCircle))] [XmlInclude(typeof(MeasureInnerCircle))] [XmlInclude(typeof(MeasureOuterCircle))] [XmlInclude(typeof(MeasureDiameterCircle))] [XmlInclude(typeof(MeasurePointEdgeSize))] [XmlInclude(typeof(MeasurePointCenterSize))] [XmlInclude(typeof(MeasurePointArcSize))] // 角度测量 [XmlInclude(typeof(MeasureThreePointAngle))] [XmlInclude(typeof(MeasureFourPointAngle))] [XmlInclude(typeof(MeasureThreePointArc))] // 对准度测量 [XmlInclude(typeof(MeasureCenterCenterSize))] [XmlInclude(typeof(MeasureTwoLineVLDistance))] public class ParentStyleModel { } }