@mindfusion/drawing 4.0.1 → 4.0.2
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 +4 -2
- package/package.json +1 -1
package/drawing.d.ts
CHANGED
|
@@ -2093,7 +2093,6 @@ declare module "Drawing/Image" {
|
|
|
2093
2093
|
transform: Matrix;
|
|
2094
2094
|
clipPath: Path;
|
|
2095
2095
|
type: any;
|
|
2096
|
-
svg: boolean;
|
|
2097
2096
|
imageAlign: number;
|
|
2098
2097
|
horizontalAlignment: number;
|
|
2099
2098
|
verticalAlignment: number;
|
|
@@ -2349,9 +2348,11 @@ declare module "Drawing/Text" {
|
|
|
2349
2348
|
* Sets a value indicating the bounding rectangle of the text container.
|
|
2350
2349
|
* @param {Rect} bounds The bounding rectangle.
|
|
2351
2350
|
* @param {Number} [angle] The rotation angle to be applied to the bounding rectangle.
|
|
2351
|
+
* @param {Point} [pivot] The center point of the rotation.
|
|
2352
2352
|
*/
|
|
2353
|
-
setBounds(bounds: Rect, angle?: number): void;
|
|
2353
|
+
setBounds(bounds: Rect, angle?: number, pivot?: Point): void;
|
|
2354
2354
|
_rotationAngle: number;
|
|
2355
|
+
_rotationPivot: Point;
|
|
2355
2356
|
/**
|
|
2356
2357
|
* Gets a value indicating the bounding rectangle of the text container.
|
|
2357
2358
|
* @returns {Rect} The bounding rectangle.
|
|
@@ -2444,6 +2445,7 @@ declare module "Drawing/Text" {
|
|
|
2444
2445
|
import { Path } from "Drawing/Path";
|
|
2445
2446
|
import { Thickness } from "Drawing/Thickness";
|
|
2446
2447
|
import { Font } from "Drawing/Font";
|
|
2448
|
+
import { Point } from "Drawing/Point";
|
|
2447
2449
|
import { Matrix } from "Drawing/Matrix";
|
|
2448
2450
|
import { Size } from "Drawing/Size";
|
|
2449
2451
|
}
|