using HTEXLib.Animations; using System; using System.Collections.Generic; using System.Text; namespace HTEXLib { public abstract class Item { public List animations { get; set; } public string id { get; set; } /// /// Sp CxnSp Media Group Table Chart Diagram /// 元素类型 /// public string type { get; set; } // public string Xml { get; set; } /// /// 层级 /// public int index { get; set; } /// /// 形状svg路径 /// public Svg svg { get; set; } /// /// 唯一id /// public string uid { get; set; } = Guid.NewGuid().ToString("N"); /// /// 画笔 /// public Brush brush { get; set; } /// /// 是否有动画 /// public bool animatable { get; set; } /// /// 进入场景之前是否可见元素 /// public bool invisible { get; set; } /// /// 元素绑定的链接 点击 /// // public string clickLinkUrl { get; set; } /// /// 元素绑定的链接 鼠标滑过 /// //public string hoverLinkUrl { get; set; } /// /// 字号 /// // public int fontScale { get; set; } = 100000; /// /// 边距 inchPixel=72; BottomInset= inchPixel/20; /// // public int bottom { get; set; } /// /// 边距 inchPixel=72; BottomInset= inchPixel/20; /// //public int top { get; set; } /// /// 边距 inchPixel/10; /// // public int left { get; set; } /// /// 边距 inchPixel/10; /// //public int right { get; set; } /// /// 动画集合 /// // public List Animations { get; set; } } }