|
@@ -1,6 +1,7 @@
|
|
import { SMouseEvent } from "@saga-web/base/lib";
|
|
import { SMouseEvent } from "@saga-web/base/lib";
|
|
import { SPainter, SRect } from "@saga-web/draw/lib";
|
|
import { SPainter, SRect } from "@saga-web/draw/lib";
|
|
import { SGraphyItem } from "./SGraphyItem";
|
|
import { SGraphyItem } from "./SGraphyItem";
|
|
|
|
+import { SGraphyView } from "./SGraphyView";
|
|
|
|
|
|
/**
|
|
/**
|
|
* Graphy图形引擎场景类
|
|
* Graphy图形引擎场景类
|
|
@@ -8,6 +9,8 @@ import { SGraphyItem } from "./SGraphyItem";
|
|
* @author 庞利祥(sybotan@126.com)
|
|
* @author 庞利祥(sybotan@126.com)
|
|
*/
|
|
*/
|
|
export class SGraphyScene {
|
|
export class SGraphyScene {
|
|
|
|
+ /** 展示场景的视图 */
|
|
|
|
+ view: SGraphyView | null = null;
|
|
/** 根节点 */
|
|
/** 根节点 */
|
|
protected root: SGraphyItem = new SGraphyItem();
|
|
protected root: SGraphyItem = new SGraphyItem();
|
|
/** 当前捕获Item */
|
|
/** 当前捕获Item */
|