FontStyle.cs 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. using HTEXLib.Models.HTEX;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace HTEXLib
  6. {
  7. public class FontStyle
  8. {
  9. public Fill fill { get; set; }
  10. public Border border { get; set; }
  11. /// <summary>
  12. ///
  13. /// font-family、font-style、font-weight、font-variant、font-stretch、font-size、font-size-adjust、
  14. /// kerning、letter-spacing、word-spacing和text-decoration
  15. /// </summary>
  16. public string color { get; set; }
  17. public double size { get; set; }
  18. //inherit 继承父级
  19. public string family { get; set; }
  20. //public string weight { get; set; }
  21. //public string style { get; set; }
  22. public string underline { get; set; }
  23. // public string vertAlign { get; set; }
  24. public string align { get; set; }
  25. /// <summary>
  26. /// 阴影
  27. /// </summary>
  28. public string shadow { get; set; }
  29. /// <summary>
  30. /// 缩进?
  31. /// </summary>
  32. public int spacing { get; set; }
  33. /// <summary>
  34. /// 是否加粗
  35. /// </summary>
  36. public bool bold { get; set; }
  37. /// <summary>
  38. /// 是否斜体
  39. /// </summary>
  40. public bool italic { get; set; }
  41. /// <summary>
  42. ///
  43. /// </summary>
  44. // public double top { get; set; }
  45. /// <summary>
  46. ///
  47. /// </summary>
  48. // public double left { get; set; }
  49. /// <summary>
  50. /// 不可见的
  51. /// </summary>
  52. // public bool Invisible { get; set; }
  53. // public bool isBullet { get; set; }
  54. // public double rot { get; set; }
  55. // public double width { get; set; }
  56. // //public bool pictureBullet { get; set; }
  57. // public double bulletSize { get; set; }
  58. public Effect effect { get; set; }
  59. }
  60. }