diff --git a/refactor-plan.md b/refactor-plan.md index 1227dea..b5db4b9 100644 --- a/refactor-plan.md +++ b/refactor-plan.md @@ -147,6 +147,8 @@ function applyPatternColoring( } ``` +CG: 角度分配还需结合扇区高度,就能计算出字的大小和布局 + **多文本单元角度分配:** ```typescript function splitMultiTextUnits( @@ -254,6 +256,7 @@ export interface TextUnit { isSvg: boolean; // 是否为 SVG 文件名 } +CG: ??? /** 刻度线数据 */ export interface TickMark { angle: number; @@ -264,12 +267,13 @@ export interface TickMark { label?: string; // 度数标签(仅主刻度) } +CG:??? /** 扩展现有 Sector 接口 */ export interface Sector { // ... 现有字段保持 ... // 新增字段 - textUnits?: TextUnit[]; // 多文本单元 + textUnits?: TextUnit[]; // 多文本单元 ??? groupSplitVisible?: boolean; // 是否显示与下一个扇区的分割线 isSvgContent?: boolean; // 内容是否为 SVG svgPath?: string; // SVG 文件路径