FontStyle.cs 1.7 KB

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