fix grid info

This commit is contained in:
Tan, Kian-ting 2023-11-15 12:38:51 +08:00
parent 134485a6d6
commit 9c51921978
3 changed files with 2 additions and 2 deletions

BIN
blank.pdf

Binary file not shown.

View file

@ -373,7 +373,7 @@ class Clo {
page.drawText('You can create PDFs!');
for (var j = 0; j < 1000; j += 5) {
if (j % 50 == 0) {
page.drawText(i.toString(), { x: 50, y: j });
page.drawText(j.toString(), { x: 50, y: j });
}
page.drawLine({
start: { x: 0, y: j },

View file

@ -457,7 +457,7 @@ export class Clo{
for (var j = 0; j<1000; j+=5){
if (j %50 == 0){
page.drawText(i.toString(), {x: 50, y: j});
page.drawText(j.toString(), {x: 50, y: j});
}
page.drawLine({