mxdraw 0.1.248 → 0.1.249
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/mxdraw.d.ts +9 -0
- package/dist/mxdraw.esm.js +1 -1
- package/dist/mxdraw.umd.js +1 -1
- package/package.json +1 -1
package/dist/mxdraw.d.ts
CHANGED
|
@@ -2753,6 +2753,15 @@ declare class MxDrawObject extends Node<MxDrawEvents, Node<any, any>> {
|
|
|
2753
2753
|
* ```
|
|
2754
2754
|
*/
|
|
2755
2755
|
isWhiteViewColor(): boolean;
|
|
2756
|
+
/**
|
|
2757
|
+
* 根据当前颜色,自动对color进行反色,比如:背景色是白色,自动取黑色.
|
|
2758
|
+
* @example
|
|
2759
|
+
* ```typescript
|
|
2760
|
+
*
|
|
2761
|
+
*
|
|
2762
|
+
* ```
|
|
2763
|
+
*/
|
|
2764
|
+
automaticInversionColor(color: number): number;
|
|
2756
2765
|
}
|
|
2757
2766
|
|
|
2758
2767
|
/**
|