using System; using System.Collections.Generic; using System.Text; namespace HTEXLib { /// /// 对元素的边框,填充支撑如何 /// public class Border { //public double width { get; set; } // public string color { get; set; } public string type { get; set; } /// /// 描边 /// public string stroke{ get; set; } public string dir { get; set; } public HtexOutline outline { get; set; } = new HtexOutline(); public Fill color { get; set; } = new Fill(); /// /// 切角 bevel 棱台 round 圆角 斜角 miter /// public string corner { get; set; } //TODO Width Length public string headEnd { get; set; } public string tailEnd { get; set; } } public class HtexOutline { public double? Width { get; set; } /// /// Center = 0, ///Insert = 1 ///20.1.10.39 /// public string algn { get; set; } /// /// 20.1.10.15 ///Single = 0, /// Double = 1, /// ThickThin = 2, /// ThinThick = 3, /// Triple = 4 /// public string cmpd { get; set; } /// /// 20.1.10.31 /// Round = 0, /// Square = 1, /// Flat = 2 /// public string cap { get; set; } } }