@mindfusion/drawing 4.0.1 → 4.0.4
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/cjs/drawing.js +1 -1
- package/dist/esm/drawing.js +1 -1
- package/dist/umd/drawing.js +1 -1
- package/drawing.d.ts +5 -8
- package/package.json +1 -1
package/drawing.d.ts
CHANGED
|
@@ -896,12 +896,6 @@ declare module "Drawing/DrawingUtils" {
|
|
|
896
896
|
* For internal use only.
|
|
897
897
|
* @private
|
|
898
898
|
*/
|
|
899
|
-
private static isNumber;
|
|
900
|
-
static isFloat(number: any): boolean;
|
|
901
|
-
/**
|
|
902
|
-
* For internal use only.
|
|
903
|
-
* @private
|
|
904
|
-
*/
|
|
905
899
|
private static sign;
|
|
906
900
|
static getFitTextStep(currUnit: any): number;
|
|
907
901
|
static formatString(...args: any[]): any;
|
|
@@ -2093,7 +2087,6 @@ declare module "Drawing/Image" {
|
|
|
2093
2087
|
transform: Matrix;
|
|
2094
2088
|
clipPath: Path;
|
|
2095
2089
|
type: any;
|
|
2096
|
-
svg: boolean;
|
|
2097
2090
|
imageAlign: number;
|
|
2098
2091
|
horizontalAlignment: number;
|
|
2099
2092
|
verticalAlignment: number;
|
|
@@ -2349,9 +2342,11 @@ declare module "Drawing/Text" {
|
|
|
2349
2342
|
* Sets a value indicating the bounding rectangle of the text container.
|
|
2350
2343
|
* @param {Rect} bounds The bounding rectangle.
|
|
2351
2344
|
* @param {Number} [angle] The rotation angle to be applied to the bounding rectangle.
|
|
2345
|
+
* @param {Point} [pivot] The center point of the rotation.
|
|
2352
2346
|
*/
|
|
2353
|
-
setBounds(bounds: Rect, angle?: number): void;
|
|
2347
|
+
setBounds(bounds: Rect, angle?: number, pivot?: Point): void;
|
|
2354
2348
|
_rotationAngle: number;
|
|
2349
|
+
_rotationPivot: Point;
|
|
2355
2350
|
/**
|
|
2356
2351
|
* Gets a value indicating the bounding rectangle of the text container.
|
|
2357
2352
|
* @returns {Rect} The bounding rectangle.
|
|
@@ -2379,6 +2374,7 @@ declare module "Drawing/Text" {
|
|
|
2379
2374
|
scriptOffset: any;
|
|
2380
2375
|
link: any;
|
|
2381
2376
|
color: any;
|
|
2377
|
+
size: any;
|
|
2382
2378
|
};
|
|
2383
2379
|
addToFormat(specifier: any, format: any): void;
|
|
2384
2380
|
removeFromFormat(specifier: any, format: any): void;
|
|
@@ -2444,6 +2440,7 @@ declare module "Drawing/Text" {
|
|
|
2444
2440
|
import { Path } from "Drawing/Path";
|
|
2445
2441
|
import { Thickness } from "Drawing/Thickness";
|
|
2446
2442
|
import { Font } from "Drawing/Font";
|
|
2443
|
+
import { Point } from "Drawing/Point";
|
|
2447
2444
|
import { Matrix } from "Drawing/Matrix";
|
|
2448
2445
|
import { Size } from "Drawing/Size";
|
|
2449
2446
|
}
|