FontStyle.cs 794 B

12345678910111213141516171819202122232425
  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 decoration { get; set; }
  20. public string vertAlign { get; set; }
  21. public string align { get; set; }
  22. public string shadow { get; set; }
  23. }
  24. }