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 GrainSizeGuideStyleModel
{
///
/// 垂线样式
///
[XmlElement("vGuideStyles")]
public List vGuideStyles { get; set; }
///
/// 水平线样式
///
[XmlElement("hGuideStyles")]
public List hGuideStyles { get; set; }
///
/// 单圆样式
///
[XmlElement("cGuideStyles")]
public List cGuideStyles { get; set; }
///
/// 三圆样式
///
[XmlElement("tCGuideStyles")]
public List tCGuideStyles { get; set; }
///
/// 复合样式
///
[XmlElement("rGuideStyles")]
public List rGuideStyles { get; set; }
#region 辅助线样式
///
/// 辅助线样式(垂线)
///
public class VGuideStyle
{
///
/// 识别标记
///
public string tag { get; set; }
///
/// 列表顺序
///
public int index { get; set; }
///
/// 长度
///
public int lineLength { get; set; }
///
/// 间距
///
public int lineSpacing { get; set; }
///
/// 线条数
///
public int lineDec { get; set; }
///
/// 线颜色
///
public int lineColor { get; set; }
///
/// 线宽
///
public int lineWidth { get; set; }
}
///
/// 辅助线样式(水平线)
///
public class HGuideStyle
{
///
/// 识别标记
///
public string tag { get; set; }
///
/// 列表顺序
///
public int index { get; set; }
///
/// 长度
///
public int lineLength { get; set; }
///
/// 间距
///
public int lineSpacing { get; set; }
///
/// 线条数
///
public int lineDec { get; set; }
///
/// 线颜色
///
public int lineColor { get; set; }
///
/// 线宽
///
public int lineWidth { get; set; }
}
///
/// 辅助线样式(单圆)
///
public class CGuideStyle
{
///
/// 识别标记
///
public string tag { get; set; }
///
/// 列表顺序
///
public int index { get; set; }
///
/// 直径
///
public int diameter { get; set; }
///
/// 线颜色
///
public int lineColor { get; set; }
///
/// 线宽
///
public int lineWidth { get; set; }
}
///
/// 辅助线样式(三圆)
///
public class TCGuideStyle
{
///
/// 识别标记
///
public string tag { get; set; }
///
/// 列表顺序
///
public int index { get; set; }
///
/// 直径
///
public int diameter { get; set; }
///
/// 边距
///
public int margin { get; set; }
///
/// 线颜色
///
public int lineColor { get; set; }
///
/// 线宽
///
public int lineWidth { get; set; }
}
///
/// 辅助线样式(复合)
///
public class RGuideStyle
{
///
/// 识别标记
///
public string tag { get; set; }
///
/// 列表顺序
///
public int index { get; set; }
///
/// 垂线长度
///
public int vLineLength { get; set; }
///
/// 水平线长度
///
public int hLineLength { get; set; }
///
/// 直径
///
public int diameter { get; set; }
///
/// 边距
///
public int margin { get; set; }
///
/// 左上到右下斜线长度
///
public int TopleftLineLength { get; set; }
///
/// 左下到右上斜线长度
///
public int ToprightLineLength { get; set; }
///
/// 垂线到圆距离
///
public int VLineToCDistance { get; set; }
///
/// 水平线到圆距离
///
public int HLineToCDistance { get; set; }
///
/// 线颜色
///
public int lineColor { get; set; }
///
/// 线宽
///
public int lineWidth { get; set; }
}
#endregion
}
}