fix grid info
This commit is contained in:
parent
134485a6d6
commit
9c51921978
3 changed files with 2 additions and 2 deletions
BIN
blank.pdf
BIN
blank.pdf
Binary file not shown.
|
@ -373,7 +373,7 @@ class Clo {
|
||||||
page.drawText('You can create PDFs!');
|
page.drawText('You can create PDFs!');
|
||||||
for (var j = 0; j < 1000; j += 5) {
|
for (var j = 0; j < 1000; j += 5) {
|
||||||
if (j % 50 == 0) {
|
if (j % 50 == 0) {
|
||||||
page.drawText(i.toString(), { x: 50, y: j });
|
page.drawText(j.toString(), { x: 50, y: j });
|
||||||
}
|
}
|
||||||
page.drawLine({
|
page.drawLine({
|
||||||
start: { x: 0, y: j },
|
start: { x: 0, y: j },
|
||||||
|
|
|
@ -457,7 +457,7 @@ export class Clo{
|
||||||
|
|
||||||
for (var j = 0; j<1000; j+=5){
|
for (var j = 0; j<1000; j+=5){
|
||||||
if (j %50 == 0){
|
if (j %50 == 0){
|
||||||
page.drawText(i.toString(), {x: 50, y: j});
|
page.drawText(j.toString(), {x: 50, y: j});
|
||||||
}
|
}
|
||||||
|
|
||||||
page.drawLine({
|
page.drawLine({
|
||||||
|
|
Loading…
Reference in a new issue