@mindfusion/drawing 4.1.1-beta.3 → 4.3.0
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/LICENSE.txt +64 -0
- package/README.md +57 -0
- package/dist/cjs/drawing.js +1 -1
- package/dist/esm/drawing.js +1 -1
- package/dist/esm/drawing.mjs +1 -1
- package/dist/umd/drawing.js +1 -1
- package/drawing.d.mts +6 -3
- package/drawing.d.ts +6 -3
- package/package.json +1 -1
package/drawing.d.mts
CHANGED
|
@@ -767,6 +767,9 @@ declare module "Drawing/DrawingUtils" {
|
|
|
767
767
|
* @class Contains drawing-related helper functions.
|
|
768
768
|
*/
|
|
769
769
|
export class DrawingUtils {
|
|
770
|
+
static getLineWidth(context: any, strokeThickness: any): number;
|
|
771
|
+
static applyLineWidth(context: any, strokeThickness: any): void;
|
|
772
|
+
static applyLineDash(context: any, strokeThickness: any, strokeDashStyle: any, strokeDashArray: any, strokeDashOffset: any): void;
|
|
770
773
|
/**
|
|
771
774
|
* For internal use only.
|
|
772
775
|
* @private
|
|
@@ -2091,19 +2094,19 @@ declare module "Drawing/Font" {
|
|
|
2091
2094
|
/**
|
|
2092
2095
|
* Gets whether the font is bold.
|
|
2093
2096
|
* @type {Boolean}
|
|
2094
|
-
* @summary true if Bold flag is set in fontStyle,
|
|
2097
|
+
* @summary true if Bold flag is set in fontStyle, or false otherwise.
|
|
2095
2098
|
*/
|
|
2096
2099
|
get bold(): boolean;
|
|
2097
2100
|
/**
|
|
2098
2101
|
* Gets whether the font is italic.
|
|
2099
2102
|
* @type {Boolean}
|
|
2100
|
-
* @summary true if Italic flag is set in fontStyle,
|
|
2103
|
+
* @summary true if Italic flag is set in fontStyle, or false otherwise.
|
|
2101
2104
|
*/
|
|
2102
2105
|
get italic(): boolean;
|
|
2103
2106
|
/**
|
|
2104
2107
|
* Gets whether the font is underlined.
|
|
2105
2108
|
* @type {Boolean}
|
|
2106
|
-
* @summary true if Underline flag is set in fontStyle,
|
|
2109
|
+
* @summary true if Underline flag is set in fontStyle, or false otherwise.
|
|
2107
2110
|
*/
|
|
2108
2111
|
get underline(): boolean;
|
|
2109
2112
|
toJson(): {
|
package/drawing.d.ts
CHANGED
|
@@ -767,6 +767,9 @@ declare module "Drawing/DrawingUtils" {
|
|
|
767
767
|
* @class Contains drawing-related helper functions.
|
|
768
768
|
*/
|
|
769
769
|
export class DrawingUtils {
|
|
770
|
+
static getLineWidth(context: any, strokeThickness: any): number;
|
|
771
|
+
static applyLineWidth(context: any, strokeThickness: any): void;
|
|
772
|
+
static applyLineDash(context: any, strokeThickness: any, strokeDashStyle: any, strokeDashArray: any, strokeDashOffset: any): void;
|
|
770
773
|
/**
|
|
771
774
|
* For internal use only.
|
|
772
775
|
* @private
|
|
@@ -2091,19 +2094,19 @@ declare module "Drawing/Font" {
|
|
|
2091
2094
|
/**
|
|
2092
2095
|
* Gets whether the font is bold.
|
|
2093
2096
|
* @type {Boolean}
|
|
2094
|
-
* @summary true if Bold flag is set in fontStyle,
|
|
2097
|
+
* @summary true if Bold flag is set in fontStyle, or false otherwise.
|
|
2095
2098
|
*/
|
|
2096
2099
|
get bold(): boolean;
|
|
2097
2100
|
/**
|
|
2098
2101
|
* Gets whether the font is italic.
|
|
2099
2102
|
* @type {Boolean}
|
|
2100
|
-
* @summary true if Italic flag is set in fontStyle,
|
|
2103
|
+
* @summary true if Italic flag is set in fontStyle, or false otherwise.
|
|
2101
2104
|
*/
|
|
2102
2105
|
get italic(): boolean;
|
|
2103
2106
|
/**
|
|
2104
2107
|
* Gets whether the font is underlined.
|
|
2105
2108
|
* @type {Boolean}
|
|
2106
|
-
* @summary true if Underline flag is set in fontStyle,
|
|
2109
|
+
* @summary true if Underline flag is set in fontStyle, or false otherwise.
|
|
2107
2110
|
*/
|
|
2108
2111
|
get underline(): boolean;
|
|
2109
2112
|
toJson(): {
|