| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- import { SGraphyItem } from "@saga-web/graphy/lib";
- import { SColor, SPoint, SArrowStyleType } from "@saga-web/draw/lib";
- import { SRelationState } from "../../enums/SRelationState";
- import { SAnchorItem } from "./SAnchorItem";
- /**
- * 关系item
- *
- * * @author 郝建龙(1061851420@qq.com)
- */
- export abstract class SRelation extends SGraphyItem {
- // /** 起始端点线帽样式(枚举) */
- // beginCap: SRelationState = SArrowStyleType.None;
- // /** 终止端点线帽样式(枚举) */
- // endCap: SRelationState = SArrowStyleType.None;
- // /** 线帽填充色 */
- // capColor: SColor;
- // /** 外线颜色 */
- // color: SColor;
- // /** 起始锚点对象 */
- // startAnchor: SAnchorItem | null = null;
- // /** 终止锚点对象 */
- // endAnchor: SAnchorItem | null = null;
- // /** 内线颜色 */
- // innerLineColor: SColor;
- // /** 内线宽度 */
- // innerLineWidth: number = -1;
- // /** 虚线样式 */
- // lineDash: number[] = [];
- // /** 虚线偏移量 */
- // lineDashOffset: number = 0;
- // /** 动画速度 */
- // speed: number = 0;
- // /** 线宽 */
- // lineWidth: number;
- // /** 线状态 */
- // state: SRelationState = SRelationState.Normal;
- // /** 折点list */
- // pointList: SPoint[] = [];
- } // Class SRelation
|