HtexElement.cs 967 B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace HTEXLib.Models.HTEX
  5. {
  6. public abstract class HtexElement
  7. {
  8. protected double top;
  9. protected double rot;
  10. protected double left;
  11. protected double width;
  12. protected double height;
  13. protected double fontSize;
  14. protected string fontFamily;
  15. protected string fontColor;
  16. protected string id;
  17. protected PPTSlide slide;
  18. // protected string cssClass;
  19. protected bool invisible;
  20. protected bool animatable;
  21. protected int index;
  22. // Sp CxnSp Media Group Table Chart Diagram
  23. protected string type;
  24. //水平翻转
  25. public int flipH { get; set; } = 0;
  26. //垂直翻转
  27. public int flipV { get; set; } = 0;
  28. public abstract List<Item> DrawElement();
  29. public string partForm { get; set; }
  30. public string sid { get; set; }
  31. }
  32. }