using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace PaintDotNet.Base.SettingModel { /// /// 设置 - 测量信息 /// [XmlRoot("ROOT")] public class MeasureStyleModel { /// /// 长度测量->直线 /// [XmlElement("MeasureLine")] public MeasureLine measureLine { get; set; } /// /// 长度测量->距离 /// [XmlElement("MeasureDistanceLine")] public MeasureDistanceLine measureDistanceLine { get; set; } /// /// 长度测量->长度 /// [XmlElement("MeasureLength")] public MeasureLength measureLength { get; set; } /// /// 长度测量->水平线 /// [XmlElement("MeasureHLine")] public MeasureHLine measureHLine { get; set; } /// /// 长度测量->垂线 /// [XmlElement("MeasureVLine")] public MeasureVLine measureVLine { get; set; } /// /// 多点线段->多点直线 /// [XmlElement("MeasureMulLine")] public MeasureMulLine measureMulLine { get; set; } /// /// 多点线段->多点水平线 /// [XmlElement("MeasureMulHVLine")] public MeasureMulHVLine measureMulHVLine { get; set; } /// /// 长度测量->直线 /// [XmlElement("MeasureMulSegment")] public MeasureMulSegment measureMulSegment { get; set; } /// /// 长度测量->直线 /// [XmlElement("MeasureMulVLine")] public MeasureMulVLine measureMulVLine { get; set; } /// /// 曲线长度->折线 /// [XmlElement("MeasureBrokenLine")] public MeasureBrokenLine measureBrokenLine { get; set; } /// /// 曲线长度->轨迹曲线 /// [XmlElement("MeasureTraceCurve")] public MeasureTraceCurve measureTraceCurve { get; set; } /// /// 曲线长度->曲线 /// [XmlElement("MeasureCurveLine")] public MeasureCurveLine measureCurveLine { get; set; } /// /// 点垂线->点垂线 /// [XmlElement("MeasurePLine")] public MeasurePLine measurePLine { get; set; } /// /// 点垂线->多点垂线 /// [XmlElement("MeasureMulPLine")] public MeasureMulPLine measureMulPLine { get; set; } /// /// 点垂线->水平多点垂线 /// [XmlElement("MeasureHMulPLine")] public MeasureHMulPLine measureHMulPLine { get; set; } /// /// 点垂线->垂直多点垂线 /// [XmlElement("MeasureVMulPLine")] public MeasureVMulPLine measureVMulPLine { get; set; } /// /// 点垂线->点到水平线距离 /// [XmlElement("MeasurePointHLine")] public MeasurePointHLine measurePointHLine { get; set; } /// /// 平行线测量->平行线 /// [XmlElement("MeasureParallelLine")] public MeasureParallelLine measureParallelLine { get; set; } /// /// 平行线测量->多点平行线 /// [XmlElement("MeasureMulParallelLine")] public MeasureMulParallelLine measureMulParallelLine { get; set; } /// /// 平行线测量->垂直多点平行线 /// [XmlElement("MeasureVMulParallelLine")] public MeasureVMulParallelLine measureVMulParallelLine { get; set; } /// /// 平行线测量->水平多点平行线 /// [XmlElement("MeasureHMulParallelLine")] public MeasureHMulParallelLine measureHMulParallelLine { get; set; } /// /// 多边形测量->闭合曲线 /// [XmlElement("MeasureClosedCurve")] public MeasureClosedCurve measureClosedCurve { get; set; } /// /// 多边形测量->多边形 /// [XmlElement("MeasurePolygon")] public MeasurePolygon measurePolygon { get; set; } /// /// MeasureRectangle /// [XmlElement("MeasureRectangle")] public MeasureRectangle measureRectangle { get; set; } /// /// 多边形测量->任意矩形 /// [XmlElement("MeasureRandRectangle")] public MeasureRandRectangle measureRandRectangle { get; set; } /// /// 多边形测量->正方形 /// [XmlElement("MeasureSquare")] public MeasureSquare measureSquare { get; set; } /// /// 多边形测量->任意正方形 /// [XmlElement("MeasureRandSquare")] public MeasureRandSquare measureRandSquare { get; set; } /// /// 多边形测量->轨迹多边形 /// [XmlElement("MeasureTracePolygon")] public MeasureTracePolygon measureTracePolygon { get; set; } /// /// 圆形测量->三点圆 /// [XmlElement("MeasureCircle")] public MeasureCircle measureCircle { get; set; } /// /// 圆形测量->向内画圆 /// [XmlElement("MeasureInnerCircle")] public MeasureInnerCircle measureInnerCircle { get; set; } /// /// 圆形测量->向外画圆 /// [XmlElement("MeasureOuterCircle")] public MeasureOuterCircle measureOuterCircle { get; set; } /// /// 圆形测量->直径画圆 /// [XmlElement("MeasureDiameterCircle")] public MeasureDiameterCircle measureDiameterCircle { get; set; } /// /// 圆形测量->点到圆距离 /// [XmlElement("MeasurePointEdgeSize")] public MeasurePointEdgeSize measurePointEdgeSize { get; set; } /// /// 圆形测量->点到圆心距离 /// [XmlElement("MeasurePointCenterSize")] public MeasurePointCenterSize measurePointCenterSize { get; set; } /// /// 圆形测量->点到圆弧距离 /// [XmlElement("MeasurePointArcSize")] public MeasurePointArcSize measurePointArcSize { get; set; } /// /// 角度测量->三点角度 /// [XmlElement("MeasureThreePointAngle")] public MeasureThreePointAngle measureThreePointAngle { get; set; } /// /// 角度测量->四点角度 /// [XmlElement("MeasureFourPointAngle")] public MeasureFourPointAngle measureFourPointAngle { get; set; } /// /// 角度测量->三点弧 /// [XmlElement("MeasureThreePointArc")] public MeasureThreePointArc measureThreePointArc { get; set; } /// /// 对准度测量->圆心到圆心距离 /// [XmlElement("MeasureCenterCenterSize")] public MeasureCenterCenterSize measureCenterCenterSize { get; set; } /// /// 对准度测量->两线中垂线距离 /// [XmlElement("MeasureTwoLineVLDistance")] public MeasureTwoLineVLDistance measureTwoLineVLDistance { get; set; } #region 长度测量->直线 /// /// 长度测量->直线 /// public class MeasureLine : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 文字位置 /// public int linePosition { get; set; } /// /// 垂线长度 /// public int vLineLength { get; set; } /// /// 是否跟随线 /// public bool followLine { get; set; } } #endregion #region 长度测量->距离 /// /// 长度测量->距离 /// public class MeasureDistanceLine : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 文字位置 /// public int linePosition { get; set; } } #endregion #region 长度测量->长度 /// /// 长度测量->长度 /// public class MeasureLength : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 文字位置 /// public int linePosition { get; set; } } #endregion #region 长度测量->水平线 /// /// 长度测量->水平线 /// public class MeasureHLine : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 文字位置 /// public int linePosition { get; set; } /// /// 垂线长度 /// public int vLineLength { get; set; } } #endregion #region 长度测量->垂线 /// /// 长度测量->垂线 /// public class MeasureVLine : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 文字位置 /// public int linePosition { get; set; } /// /// 垂线长度 /// public int vLineLength { get; set; } /// /// /// 是否跟随线 /// public bool followLine { get; set; } } #endregion #region 多点线段->多点直线 /// /// 多点线段->多点直线 /// public class MeasureMulLine : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 文字位置(线) /// public int linePositionL { get; set; } /// /// 文字位置(点) /// public int linePositionP { get; set; } /// /// 垂线长度 /// public int vLineLength { get; set; } } #endregion #region 多点线段->多点水平线 /// /// 多点线段->多点水平线 /// public class MeasureMulHVLine : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 文字位置(线) /// public int linePositionL { get; set; } /// /// 文字位置(点) /// public int linePositionP { get; set; } /// /// 垂线长度 /// public int vLineLength { get; set; } } #endregion #region 多点线段->多点线段 /// /// 多点线段->多点线段 /// public class MeasureMulSegment : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 文字位置(线) /// public int linePositionL { get; set; } /// /// 文字位置(点) /// public int linePositionP { get; set; } /// /// 垂线长度 /// public int vLineLength { get; set; } } #endregion #region 多点线段->多点垂直线 /// /// 多点线段->多点垂直线 /// public class MeasureMulVLine : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 文字位置(线) /// public int linePositionL { get; set; } /// /// 文字位置(点) /// public int linePositionP { get; set; } /// /// 垂线长度 /// public int vLineLength { get; set; } /// /// 是否跟随线 /// public bool followLine { get; set; } } #endregion #region 曲线长度->折线 /// /// 曲线长度->折线 /// public class MeasureBrokenLine : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 文字位置 /// public int linePosition { get; set; } } #endregion #region 曲线长度->轨迹曲线 /// /// 曲线长度->轨迹曲线 /// public class MeasureTraceCurve : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 文字位置 /// public int linePosition { get; set; } } #endregion #region 曲线长度->曲线 /// /// 曲线长度->曲线 /// public class MeasureCurveLine : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 文字位置 /// public int linePosition { get; set; } } #endregion #region 点垂线->点垂线 /// /// 点垂线->点垂线 /// public class MeasurePLine : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 文字位置(线) /// public int linePositionL { get; set; } /// /// 文字位置(点) /// public int linePositionP { get; set; } } #endregion #region 点垂线->多点垂线 /// /// 点垂线->多点垂线 /// public class MeasureMulPLine : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 文字位置(线) /// public int linePositionL { get; set; } /// /// 文字位置(点) /// public int linePositionP { get; set; } } #endregion #region 点垂线->水平多点垂线 /// /// 点垂线->水平多点垂线 /// public class MeasureHMulPLine : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 文字位置(线) /// public int linePositionL { get; set; } /// /// 文字位置(点) /// public int linePositionP { get; set; } } #endregion #region 点垂线->垂直多点垂线 /// /// 点垂线->垂直多点垂线 /// public class MeasureVMulPLine : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 文字位置(线) /// public int linePositionL { get; set; } /// /// 文字位置(点) /// public int linePositionP { get; set; } } #endregion #region 点垂线->点到水平线距离 /// /// 点垂线->点到水平线距离 /// public class MeasurePointHLine : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 文字位置(线) /// public int linePositionL { get; set; } /// /// 文字位置(点) /// public int linePositionP { get; set; } } #endregion #region 平行线测量->平行线 /// /// 平行线测量->平行线 /// public class MeasureParallelLine : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 文字位置(线) /// public int linePositionL { get; set; } /// /// 文字位置(点) /// public int linePositionP { get; set; } /// /// 是否跟随线 /// public bool followLine { get; set; } } #endregion #region 平行线测量->多点平行线 /// /// 平行线测量->多点平行线 /// public class MeasureMulParallelLine : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 文字位置(线) /// public int linePositionL { get; set; } /// /// 文字位置(点) /// public int linePositionP { get; set; } } #endregion #region 平行线测量->垂直多点平行线 /// /// 平行线测量->垂直多点平行线 /// public class MeasureVMulParallelLine : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 文字位置(线) /// public int linePositionL { get; set; } /// /// 文字位置(点) /// public int linePositionP { get; set; } } #endregion #region 平行线测量->水平多点平行线 /// /// 平行线测量->水平多点平行线 /// public class MeasureHMulParallelLine : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 文字位置(线) /// public int linePositionL { get; set; } /// /// 文字位置(点) /// public int linePositionP { get; set; } } #endregion #region 多边形测量->闭合曲线 /// /// 多边形测量->闭合曲线 /// public class MeasureClosedCurve : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } } #endregion #region 多边形测量->多边形 /// /// 多边形测量->多边形 /// public class MeasurePolygon : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } } #endregion #region 多边形测量->矩形 /// /// 多边形测量->矩形 /// public class MeasureRectangle : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } } #endregion #region 多边形测量->任意矩形 /// /// 多边形测量->任意矩形 /// public class MeasureRandRectangle : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } } #endregion #region 多边形测量->正方形 /// /// 多边形测量->正方形 /// public class MeasureSquare : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } } #endregion #region 多边形测量->任意正方形 /// /// 多边形测量->任意正方形 /// public class MeasureRandSquare : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } } #endregion #region 多边形测量->轨迹多边形 /// /// 多边形测量->轨迹多边形 /// public class MeasureTracePolygon : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } } #endregion #region 圆形测量->三点圆 /// /// 圆形测量->三点圆 /// public class MeasureCircle : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } } #endregion #region 圆形测量->向内画圆 /// /// 圆形测量->向内画圆 /// public class MeasureInnerCircle : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } } #endregion #region 圆形测量->向外画圆 /// /// 圆形测量->向外画圆 /// public class MeasureOuterCircle : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } } #endregion #region 圆形测量->直径画圆 /// /// 圆形测量->直径画圆 /// public class MeasureDiameterCircle : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } } #endregion #region 圆形测量->点到圆距离 /// /// 圆形测量->点到圆距离 /// public class MeasurePointEdgeSize : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } } #endregion #region 圆形测量->点到圆心距离 /// /// 圆形测量->点到圆心距离 /// public class MeasurePointCenterSize : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } } #endregion #region 圆形测量->点到圆弧距离 /// /// 圆形测量->点到圆弧距离 /// public class MeasurePointArcSize : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } } #endregion #region 对准度测量->圆心到圆心距离 /// /// 对准度测量->圆心到圆心距离 /// public class MeasureCenterCenterSize : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 文字位置 /// public int linePosition { get; set; } } #endregion #region 对准度测量->两线中垂线距离 /// /// 对准度测量->两线中垂线距离 /// public class MeasureTwoLineVLDistance : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 文字位置 /// public int linePosition { get; set; } } #endregion #region 角度测量->三点角度 /// /// 角度测量->三点角度 /// public class MeasureThreePointAngle : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 角度选择 false 度 true 密位 /// public bool isAngle { get; set; } } #endregion #region 角度测量->四点角度 /// /// 角度测量->四点角度 /// public class MeasureFourPointAngle : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 角度选择 false 度 true 密位 /// public bool isAngle { get; set; } } #endregion #region 角度测量->三点弧 /// /// 角度测量->三点弧 /// public class MeasureThreePointArc : ParentStyleModel { /// /// 文字字体 /// public string font { get; set; } /// /// 文字字号 /// public int fontSize { get; set; } /// /// 文字颜色 /// public int textColor { get; set; } /// /// 线颜色 /// public int lineColor { get; set; } /// /// 线宽 /// public int lineWidth { get; set; } /// /// 线样式 /// public int lineStyle { get; set; } /// /// 角度选择 false 度 true 密位 /// public bool isAngle { get; set; } } #endregion } }