ParentStyleModel.cs 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Xml.Serialization;
  7. using static PaintDotNet.Base.SettingModel.MeasureStyleModel;
  8. using static PaintDotNet.Base.SettingModel.LabelStyleModel;
  9. namespace PaintDotNet.Base.SettingModel
  10. {
  11. [XmlInclude(typeof(Text))]
  12. [XmlInclude(typeof(DateMark))]
  13. [XmlInclude(typeof(TimeMark))]
  14. [XmlInclude(typeof(PointMark))]
  15. [XmlInclude(typeof(NumberMark))]
  16. [XmlInclude(typeof(GainNumber))]
  17. [XmlInclude(typeof(LineChildLine))]
  18. [XmlInclude(typeof(LineChildLineSegment))]
  19. [XmlInclude(typeof(Pencil))]
  20. [XmlInclude(typeof(Polyline))]
  21. [XmlInclude(typeof(CurveModel))]
  22. [XmlInclude(typeof(ClosedCurve))]
  23. [XmlInclude(typeof(OneWayArrow))]
  24. [XmlInclude(typeof(TwoWayArrow))]
  25. [XmlInclude(typeof(CircleModel))]
  26. [XmlInclude(typeof(Oval))]
  27. [XmlInclude(typeof(PolygonRectangle))]
  28. [XmlInclude(typeof(PolygonPolygon))]
  29. [XmlInclude(typeof(RoundedRectangle))]
  30. [XmlInclude(typeof(WorkTypeStyleModel))]
  31. [XmlInclude(typeof(WatermarkModel))]
  32. //标尺
  33. [XmlInclude(typeof(RulerModel))]
  34. // 长度测量
  35. [XmlInclude(typeof(MeasureLine))]
  36. [XmlInclude(typeof(MeasureLength))]
  37. [XmlInclude(typeof(MeasureHLine))]
  38. [XmlInclude(typeof(MeasureVLine))]
  39. // 多点线段
  40. [XmlInclude(typeof(MeasureMulLine))]
  41. [XmlInclude(typeof(MeasureMulHVLine))]
  42. [XmlInclude(typeof(MeasureMulSegment))]
  43. [XmlInclude(typeof(MeasureMulVLine))]
  44. // 曲线
  45. [XmlInclude(typeof(MeasureBrokenLine))]
  46. [XmlInclude(typeof(MeasureTraceCurve))]
  47. [XmlInclude(typeof(MeasureCurveLine))]
  48. // 点垂线
  49. [XmlInclude(typeof(MeasurePLine))]
  50. [XmlInclude(typeof(MeasureMulPLine))]
  51. [XmlInclude(typeof(MeasureHMulPLine))]
  52. [XmlInclude(typeof(MeasureVMulPLine))]
  53. [XmlInclude(typeof(MeasurePointHLine))]
  54. // 平行线测量
  55. [XmlInclude(typeof(MeasureParallelLine))]
  56. [XmlInclude(typeof(MeasureMulParallelLine))]
  57. [XmlInclude(typeof(MeasureVMulParallelLine))]
  58. [XmlInclude(typeof(MeasureHMulParallelLine))]
  59. // 多边形测量
  60. [XmlInclude(typeof(MeasureClosedCurve))]
  61. [XmlInclude(typeof(MeasurePolygon))]
  62. [XmlInclude(typeof(MeasureRectangle))]
  63. [XmlInclude(typeof(MeasureRandRectangle))]
  64. [XmlInclude(typeof(MeasureSquare))]
  65. [XmlInclude(typeof(MeasureRandSquare))]
  66. [XmlInclude(typeof(MeasureTracePolygon))]
  67. // 圆形测量
  68. [XmlInclude(typeof(MeasureCircle))]
  69. [XmlInclude(typeof(MeasureInnerCircle))]
  70. [XmlInclude(typeof(MeasureOuterCircle))]
  71. [XmlInclude(typeof(MeasureDiameterCircle))]
  72. [XmlInclude(typeof(MeasurePointEdgeSize))]
  73. [XmlInclude(typeof(MeasurePointCenterSize))]
  74. [XmlInclude(typeof(MeasurePointArcSize))]
  75. // 角度测量
  76. [XmlInclude(typeof(MeasureThreePointAngle))]
  77. [XmlInclude(typeof(MeasureFourPointAngle))]
  78. [XmlInclude(typeof(MeasureThreePointArc))]
  79. // 对准度测量
  80. [XmlInclude(typeof(MeasureCenterCenterSize))]
  81. [XmlInclude(typeof(MeasureTwoLineVLDistance))]
  82. public class ParentStyleModel
  83. {
  84. }
  85. }