@zhangqingcq/vgce
Version:
Vector graphics configure editor. svg组态编辑器。基于vue3.3+ts+element-plus+vite
26 lines (22 loc) • 473 B
text/typescript
import type { IConfigItem } from '@/config/types'
export interface ISystemStraightLine extends IConfigItem {
//绑定锚点
bind_anchors: {
start: IBindAnchors | null
end: IBindAnchors | null
}
}
export interface IBindAnchors {
type: ELineBindAnchors
target_id: string
}
export interface IAnimateConfig {
label: string
value: string
}
export enum ELineBindAnchors {
TopCenter = 'TopCenter',
Left = 'Left',
Right = 'Right',
BottomCenter = 'BottomCenter'
}