canvas-to-mark
Version:
一个小范围使用的canvas图片标注小工具
16 lines (15 loc) • 392 B
TypeScript
export default class Shape {
label: string;
coor: any[];
strokeStyle: string;
fillStyle: string;
labelFillStyle: string;
labelFont: string;
type: number;
active: boolean;
creating: boolean;
dragging: boolean;
index: number;
uuid: string;
constructor(index: number, label: string, style: Record<string, any>, uuid: string);
}