1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- 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; }
- /// <summary>
- /// 描边
- /// </summary>
- public string stroke{ get; set; }
- public string dir { get; set; }
- public HtexOutline outline { get; set; } = new HtexOutline();
- public Fill color { get; set; } = new Fill();
- /// <summary>
- /// 切角 bevel 棱台 round 圆角 斜角 miter
- /// </summary>
- public string corner { get; set; }
- public string headEnd { get; set; }
- public string tailEnd { get; set; }
- }
- public class HtexOutline
- {
- public double? Width { get; set; }
- /// <summary>
- /// Center = 0,
- ///Insert = 1
- ///20.1.10.39
- /// </summary>
- public string algn { get; set; }
- /// <summary>
- /// 20.1.10.15
- ///Single = 0,
- /// Double = 1,
- /// ThickThin = 2,
- /// ThinThick = 3,
- /// Triple = 4
- /// </summary>
- public string cmpd { get; set; }
- /// <summary>
- /// 20.1.10.31
- /// Round = 0,
- /// Square = 1,
- /// Flat = 2
- /// </summary>
- public string cap { get; set; }
- }
- }
|