using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace SmartCoalApplication.Base.SettingModel
{
///
/// 设置 - 标尺设置
///
[XmlRoot("ROOT")]
public class RulerModel : ParentStyleModel
{
#region 样式设置
///
/// 文字字号 系统字体名称
///
public decimal textFontSize { get; set; }
///
/// 文字字体
///
public string textFont { get; set; }
///
/// 文字颜色
///
public int textColor { get; set; }
///
/// 文字位置 0居左,1居中,2居右
///
public int textPosition { get; set; }
///
/// 线条颜色
///
public int lineColor { get; set; }
///
/// 线条宽度
///
public decimal lineWidth { get; set; }
///
/// 垂线长度
///
public decimal verticalLineLength { get; set; }
///
/// 文字高度
///
public decimal textHeight { get; set; }
///
/// 背景颜色
///
public int backColor { get; set; }
///
/// 背景大小
///
public decimal backgroundSize { get; set; }
///
/// 边框颜色
///
public int borderColor { get; set; }
///
/// 边框线宽
///
public decimal borderWidth { get; set; }
#endregion
#region 自动标注
///
/// 自动标注
///
public decimal autoRulerValue { get; set; }
#endregion
#region 标尺位置
///
/// 标尺位置
/// 1左上,2右上,3左下,4右下
///
public int rulerPosition { get; set; }
///
/// 标尺边距
///
public decimal rulerMargin { get; set; }
#endregion
#region 预存标尺
///
/// 标尺位置
///
public List presetRulers { get; set; }
public class PresetRuler
{
///
/// 名称
///
public String name { get; set; }
///
/// 长度
///
public decimal length { get; set; }
}
#endregion
}
}