@aivex/ui 1.2.0-dev.19 → 1.2.0-dev.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ShapeEditor/_constants.d.ts +6 -4
- package/dist/components/ShapeEditor/_model/geometry.d.ts +3 -3
- package/dist/shape-editor.cjs +1 -1
- package/dist/shape-editor.cjs.map +1 -1
- package/dist/shape-editor.js +914 -898
- package/dist/shape-editor.js.map +1 -1
- package/package.json +1 -1
|
@@ -28,7 +28,9 @@ export declare const FILL_ALPHA: number;
|
|
|
28
28
|
export declare const ROI_BORDER_COLOR = "#ffffff";
|
|
29
29
|
export declare const ROI_BORDER_WIDTH = 2;
|
|
30
30
|
export declare const ROI_BORDER_DASH: [number, number];
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
/**
|
|
32
|
+
* style.dashed 도형 점선 — [칸 배수, 간격 배수].
|
|
33
|
+
* 칸이 선 두께의 2배 미만이면 점처럼 자글거리고 6배 이상이면 짧은 변에서 실선처럼
|
|
34
|
+
* 보인다. 꼭짓점 많은 폴리곤을 감안해 3배·1:1로 둔다.
|
|
35
|
+
*/
|
|
36
|
+
export declare const DASHED_SCALE: [number, number];
|
|
@@ -32,10 +32,10 @@ export interface ShapeStyle {
|
|
|
32
32
|
/** 점선 패턴(화면 px). 고정값이라 선 두께가 바뀌어도 따라오지 않는다. */
|
|
33
33
|
dash?: number[];
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
36
|
-
*
|
|
35
|
+
* 점선으로 그린다. 패턴은 에디터가 선 두께에 맞춰 정하므로 소비처는 의도만 밝힌다.
|
|
36
|
+
* dash로 직접 지정하면 그쪽이 우선한다.
|
|
37
37
|
*/
|
|
38
|
-
|
|
38
|
+
dashed?: boolean;
|
|
39
39
|
/** POINT 도형 반경(화면 px). */
|
|
40
40
|
pointRadius?: number;
|
|
41
41
|
/** 렌더 순서. 없으면 문서 배열 순서를 따른다. */
|