|
@@ -1,23 +1,3 @@
|
|
|
-/*
|
|
|
- * ********************************************************************************************************************
|
|
|
- *
|
|
|
- * :*$@@%$*: ;: ;; ;;
|
|
|
- * :@@%! :!@@%: %! ;%%@@%$ =@@@@@@@%; @%@@@%%%%@@@@@
|
|
|
- * :@%; :$= %%$$$%$$ ;$$ ;$@= !@$
|
|
|
- * =@! %! @ $=;% !@@@%: !$$$$$$$$$$$$$$=
|
|
|
- * =@* %! @ $= % %@= =%@! %=
|
|
|
- * *$%%! @@= ;=$%%%$*: %! @ $= % =%%%%%%@$ *%: =%
|
|
|
- * %@@!: !@@@%=$@@@@%! :*@@$: %! @ $= % $* ;@ @* :%*
|
|
|
- * ;@@! ;!!!;: ;@%: =======@%========* @ $$ % $%*****$@ :@$=*********=@$
|
|
|
- * $@* ;@@@%=!: *@*
|
|
|
- * =@$ ;;;!=%@@@@=! =@!
|
|
|
- * %@$: =@%: :*@@@* %@= Copyright (c) 2016-2019. 北京上格云技术有限公司
|
|
|
- * ;%@@$=$@@%* *@@@$=%@@%;
|
|
|
- * ::;:: ::;:: All rights reserved.
|
|
|
- *
|
|
|
- * ********************************************************************************************************************
|
|
|
- */
|
|
|
-
|
|
|
import {
|
|
|
SColor,
|
|
|
SPainter,
|
|
@@ -27,11 +7,9 @@ import {
|
|
|
SRect,
|
|
|
STextAlign
|
|
|
} from "@persagy-web/draw/lib";
|
|
|
-import { Space } from "../../types/floor/Space";
|
|
|
-import { SMouseEvent } from "@persagy-web/base/lib";
|
|
|
-import { ItemOrder } from "../..";
|
|
|
-import { ItemColor } from "../..";
|
|
|
import { SGraphItem } from "@persagy-web/graph/lib";
|
|
|
+import { Space } from "@persagy-web/big/lib/types/floor/Space";
|
|
|
+import { ItemColor, ItemOrder } from "@persagy-web/big/lib";
|
|
|
|
|
|
/**
|
|
|
* 模型空间item
|
|
@@ -156,38 +134,6 @@ export class SSpaceItem extends SGraphItem {
|
|
|
);
|
|
|
} // Function boundingRect()
|
|
|
|
|
|
- // /**
|
|
|
- // * 鼠标单击事件
|
|
|
- // *
|
|
|
- // * @param event 事件参数
|
|
|
- // * @return boolean
|
|
|
- // */
|
|
|
- // onMouseDown(event: SMouseEvent): boolean {
|
|
|
- // console.log("spaceDown");
|
|
|
- // this.$emit("click", event);
|
|
|
- // return true;
|
|
|
- // } // Function onMouseDown()
|
|
|
-
|
|
|
- // /**
|
|
|
- // * 鼠标移动事件
|
|
|
- // *
|
|
|
- // * @param event 事件参数
|
|
|
- // */
|
|
|
- // onMouseMove(event: SMouseEvent): boolean {
|
|
|
- // return false;
|
|
|
- // } // Function onMouseMove()
|
|
|
-
|
|
|
- // /**
|
|
|
- // * 鼠标抬起事件
|
|
|
- // *
|
|
|
- // * @param event 事件参数
|
|
|
- // * @return boolean
|
|
|
- // */
|
|
|
- // onMouseUp(event: SMouseEvent): boolean {
|
|
|
- // console.log("spaceUp");
|
|
|
- // return false;
|
|
|
- // } // Function onClick()
|
|
|
-
|
|
|
/**
|
|
|
* 判断点是否在区域内
|
|
|
*
|