@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/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
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "email": "info@mindfusion.eu",
5
5
  "url": "https://mindfusion.eu"
6
6
  },
7
- "version": "4.0.1",
7
+ "version": "4.0.2",
8
8
  "description": "Drawing library",
9
9
  "keywords": [
10
10
  "drawing library"