orcasvn-react-diagrams 0.1.5 → 0.1.6

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.
@@ -0,0 +1,15 @@
1
+ import { TextAlign } from "../enums";
2
+ import IText from "../IText";
3
+ import IPosition from "../position";
4
+ import ISize from "../size";
5
+ export default class Text implements IText {
6
+ private readonly _id;
7
+ content: string;
8
+ size: ISize;
9
+ position?: IPosition;
10
+ align?: TextAlign;
11
+ fontSize?: number;
12
+ border?: string;
13
+ constructor(content: string, width: number, height: number, x?: number, y?: number, align?: TextAlign, fontSize?: number, border?: string);
14
+ get id(): string;
15
+ }
@@ -0,0 +1,15 @@
1
+ import { TextAlign } from "../enums";
2
+ import IText from "../IText";
3
+ import IPosition from "../position";
4
+ import ISize from "../size";
5
+ export default class Text implements IText {
6
+ private readonly _id;
7
+ content: string;
8
+ size: ISize;
9
+ position?: IPosition;
10
+ align?: TextAlign;
11
+ fontSize?: number;
12
+ border?: string;
13
+ constructor(content: string, width: number, height: number, x?: number, y?: number, align?: TextAlign, fontSize?: number, border?: string);
14
+ get id(): string;
15
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orcasvn-react-diagrams",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "dependencies": {
5
5
  "@types/jest": "^27.5.2",
6
6
  "@types/node": "^16.18.101",