feat(image-annotate): 选区编辑 + 便利版 UI + 单张输出预设(1.1.0)
This commit is contained in:
1 parent
b9ace636ef
commit
662d7eae77
22 files changed
+3795
-343
No files matched your search
@@ -76,7 +76,24 @@
|
||||
callbacks: null,
|
||||
spaceDown: false,
|
||||
_shiftDown: false,
|
||||
_canvasEventsBound: false
|
||||
_canvasEventsBound: false,
|
||||
|
||||
// ---- v1.1 选区 / 便利性 ----
|
||||
selection: null, // { kind, path, bbox, feather, active, fillRule, outline }
|
||||
marquee: null, // 拉框中的临时选区 { x0,y0,x1,y1,kind }
|
||||
lassoPts: null, // 套索绘制中的点序列
|
||||
selectionKind: 'rect', // 选区工具的形状:rect | ellipse
|
||||
selectionFeather: 0, // 羽化 px(0~20)
|
||||
selectionCanvas: null, // 蚂蚁线专用层(与 overlay 分离,互不擦除)
|
||||
selectionCtx: null,
|
||||
cursorCanvas: null, // 笔刷环专用层
|
||||
cursorCtx: null,
|
||||
_antFrame: 0, // 蚂蚁线 rAF 句柄
|
||||
_antOffset: 0,
|
||||
exportOptions: null, // { preset, format, bg, maxKB, size },来自 ctx.settings
|
||||
interaction: 'idle', // 轻量交互状态机:idle | marquee | lasso | placing | cropping
|
||||
renderAll: null, // 由 index.js 注入的统一重绘出口
|
||||
lastExport: null // 观测口:{ bytes, width, height, format, preset }
|
||||
}
|
||||
|
||||
export const runtime = { el: null }
|
||||
Reference in new issue
Block a user