Skip to content

Commit 7be0894

Browse files
committed
Text wrap feature addition
1 parent 1aba024 commit 7be0894

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/Example2.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
x: 30,
4343
y: 200,
4444
width: (210 * 3 - 80) * 0.5,
45-
height: 100,
45+
height: 150,
4646
rx: 10,
4747
ry: 10
4848
},
@@ -63,7 +63,7 @@
6363
},
6464
style: {
6565
strokeStyle: "#000000",
66-
font: "8px Arial",
66+
font: "10px Arial",
6767
textAlign: "left",
6868
"word-wrap": "break-word",
6969
}
@@ -75,7 +75,7 @@
7575
x: 40 + (210 * 3 - 80) / 2,
7676
y: 200,
7777
width: (210 * 3 - 80) * 0.5,
78-
height: 100,
78+
height: 150,
7979
rx: 10,
8080
ry: 10
8181
},
@@ -97,7 +97,7 @@
9797
},
9898
style: {
9999
strokeStyle: "#000000",
100-
font: "8px Arial",
100+
font: "10px Arial",
101101
textAlign: "left",
102102
"word-wrap": "break-word",
103103
}

sample.pdf

-54.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)