SRelation.ts 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. import { SGraphyItem } from "@saga-web/graphy/lib";
  2. import { SColor, SPoint, SArrowStyleType } from "@saga-web/draw/lib";
  3. import { SRelationState } from "../../enums/SRelationState";
  4. import { SAnchorItem } from "./SAnchorItem";
  5. /**
  6. * 关系item
  7. *
  8. * * @author 郝建龙(1061851420@qq.com)
  9. */
  10. export abstract class SRelation extends SGraphyItem {
  11. // /** 起始端点线帽样式(枚举) */
  12. // beginCap: SRelationState = SArrowStyleType.None;
  13. // /** 终止端点线帽样式(枚举) */
  14. // endCap: SRelationState = SArrowStyleType.None;
  15. // /** 线帽填充色 */
  16. // capColor: SColor;
  17. // /** 外线颜色 */
  18. // color: SColor;
  19. // /** 起始锚点对象 */
  20. // startAnchor: SAnchorItem | null = null;
  21. // /** 终止锚点对象 */
  22. // endAnchor: SAnchorItem | null = null;
  23. // /** 内线颜色 */
  24. // innerLineColor: SColor;
  25. // /** 内线宽度 */
  26. // innerLineWidth: number = -1;
  27. // /** 虚线样式 */
  28. // lineDash: number[] = [];
  29. // /** 虚线偏移量 */
  30. // lineDashOffset: number = 0;
  31. // /** 动画速度 */
  32. // speed: number = 0;
  33. // /** 线宽 */
  34. // lineWidth: number;
  35. // /** 线状态 */
  36. // state: SRelationState = SRelationState.Normal;
  37. // /** 折点list */
  38. // pointList: SPoint[] = [];
  39. } // Class SRelation