@@ -27,6 +27,11 @@
import { SGraphItem, SLineStyle, SGraphRectItem } from "@persagy-web/graph/lib";
import { SPoint, SPainter, SPath } from "@persagy-web/draw/lib";
+/**
+ * 展示类矩形蒙版 item
+ *
+ * @author 郝建龙 <haojianlong@sagacloud.cn>
+ */
export default class SMaskItem extends SGraphRectItem {
/** 绘制的路径 */
mask: SPath | undefined;
@@ -39,6 +39,11 @@ import { SItemStatus } from "..";
import { SMouseEvent } from "@persagy-web/base";
import { SMathUtil } from "@persagy-web/graph/lib/utils/SMathUtil";
+ * 任意多边形蒙版 item
export class SSceneMaskItem extends SGraphStyleItem {
/** 轮廓线坐标 */
outline: SPoint[] = [];
@@ -31,7 +31,7 @@ import { SIconTextItem } from "../icon/SIconTextItem";
import { svgTobase64 } from "../../utils/svgTobase64";
/**
- * 编辑基础设备类
+ * 基础设备类
*
* @author 韩耀龙 <han_yao_long@163.com>
*/
@@ -32,7 +32,7 @@ import { SPolylineItem } from "../shape/SPolylineItem";
import { SRelation } from "../../enums/SRelation";
- * 编辑基础管道
+ * 基础管道
@@ -29,7 +29,7 @@ import { SPolylineItem } from "../../index";
import { SLineStyle } from "@persagy-web/graph";
- * 折线箭头 item
+ * 折线两端箭头 item
* @author 郝建龙 <haojianlong@sagacloud.cn>
@@ -30,7 +30,7 @@ import { SMathUtil } from "@persagy-web/graph/lib/utils/SMathUtil";
import { SItemStatus } from "../../index";
- * 箭头多边形类型
+ * 多边形箭头类型
@@ -32,7 +32,7 @@ import {
import { SPoint, SPainter, SRect, SPath } from "@persagy-web/draw";
- * 圆角折线 item
+ * 拐角为圆角的折线 item
* @author 郝建龙 <haojianlong@sagacloud.com>
@@ -37,7 +37,7 @@ import {
import { SGraphStyleItem } from "@persagy-web/graph/lib";
- * 直线 item
+ * 线段 item