|
@@ -817,7 +817,7 @@ type PenWholeLinePoygonsEditProps<P extends Omit<WholeLinePointAttrib, "id">> =
|
|
|
autoAdd?: boolean;
|
|
|
closeAutoQuit?: boolean;
|
|
|
pointAttribFactory?: (pos: number[]) => Omit<P, "id">;
|
|
|
- quotePoint?: boolean;
|
|
|
+ quotePoint?: boolean | ((point: WholeLinePointAttrib) => boolean);
|
|
|
canOper?: (tree: WholeLineLine | WholeLinePoint, operShape: ShapeType) => boolean;
|
|
|
canDelPoint?: (point: P, evt: KonvaEventObject<any>) => boolean;
|
|
|
changePolygon?: (polygonId: string) => void;
|