Fill.cs 738 B

1234567891011121314151617181920212223242526
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace HiTeachCC.Model.PowerPoint
  5. {
  6. public class Fill
  7. {
  8. /// <summary>
  9. /// [a:noFill, solidFill, gradFill, blipFill, pattFill, grpFill]
  10. ///0,无填充 1.纯色填充 2.渐变填充 3.图片或纹理填充 4.图案填充
  11. /// </summary>
  12. public int Type { get; set; }
  13. public string Color { get; set; }
  14. public string Image { get; set; }
  15. public FillStyle FillStyle { get; set; }
  16. }
  17. public class FillStyle {
  18. public int Left { get; set; } = 0;
  19. public int Top { get; set; } = 0;
  20. public int Right { get; set; } = 0;
  21. public int Bottom { get; set; } = 0;
  22. }
  23. }