import Konva from 'konva';

export type FenceLineConfig = Konva.LineConfig;
export interface FenceCircleConfig extends Konva.CircleConfig {
  uid: string;
}

export interface FenceGroup {
  lineConfig: FenceLineConfig;
  /** 临时存放点坐标 */
  _temp: {
    points: number[];
  };
  circleConfigs: FenceCircleConfig[];
  uid: string;
  name: string;
}
