|
@@ -19,7 +19,7 @@
|
|
|
*/
|
|
|
|
|
|
import { Opt } from "../types/Opt";
|
|
|
-import { SGraphyItem } from "@saga-web/graphy/lib";
|
|
|
+import { SGraphItem } from "@saga-web/graph/lib";
|
|
|
import { SColor, SPainter, SPoint } from "@saga-web/draw/lib";
|
|
|
import { SMouseEvent } from "@saga-web/base/lib";
|
|
|
import { ItemOrder } from "../types/ItemOrder";
|
|
@@ -30,7 +30,7 @@ import { RelationPoint } from "../types/RelationPoint";
|
|
|
*
|
|
|
* @author 郝建龙
|
|
|
*/
|
|
|
-export class RelationItem extends SGraphyItem {
|
|
|
+export class RelationItem extends SGraphItem {
|
|
|
/** 是否闭合 */
|
|
|
closeFlag = false;
|
|
|
/** 起点 */
|
|
@@ -50,7 +50,7 @@ export class RelationItem extends SGraphyItem {
|
|
|
* @param parent 指向父对象
|
|
|
* @param data
|
|
|
*/
|
|
|
- constructor(parent: SGraphyItem | null, data: SPoint); // Constructor
|
|
|
+ constructor(parent: SGraphItem | null, data: SPoint); // Constructor
|
|
|
|
|
|
/**
|
|
|
* 构造函数
|
|
@@ -58,7 +58,7 @@ export class RelationItem extends SGraphyItem {
|
|
|
* @param parent 指向父对象
|
|
|
* @param data 蒙版轮廓线数据
|
|
|
*/
|
|
|
- constructor(parent: SGraphyItem | null, data: RelationPoint); // Constructor
|
|
|
+ constructor(parent: SGraphItem | null, data: RelationPoint); // Constructor
|
|
|
|
|
|
/**
|
|
|
* 构造函数
|
|
@@ -66,7 +66,7 @@ export class RelationItem extends SGraphyItem {
|
|
|
* @param parent 指向父对象
|
|
|
* @param data
|
|
|
*/
|
|
|
- constructor(parent: SGraphyItem | null, data: SPoint | RelationPoint) {
|
|
|
+ constructor(parent: SGraphItem | null, data: SPoint | RelationPoint) {
|
|
|
super(parent);
|
|
|
if (data instanceof SPoint) {
|
|
|
this.startPoint = data;
|