Commit 54ad3c28 by Juan Pablo dure

Otra prueba de titulo

1 parent 9757e390
...@@ -52,10 +52,9 @@ class PDF2 { ...@@ -52,10 +52,9 @@ class PDF2 {
const header = this.A4.addRelativeChild(new Div(pointer, new Vector(Pos.end, 3))); const header = this.A4.addRelativeChild(new Div(pointer, new Vector(Pos.end, 3)));
header.addRelativeChildren([ header.addRelativeChildren([
new Text("Dominio: " + data['patente'], new Vector(Pos.beg_margin, Pos.two_thirds), this.font), new Text("Dominio: " + data['patente'], new Vector(Pos.beg_margin + 2, Pos.third), this.font),
new Text("Fecha: " + data['fecha'], new Vector(Pos.third, Pos.two_thirds), this.font), new Text("Fecha y hora " + data['fecha'] + data['hora'], new Vector(Pos.beg_margin + 2, Pos.two_thirds), this.font),
new Text("Hora: " + data['hora'], new Vector(Pos.beg_margin, Pos.three_quarters), this.font), new Text("Ingeniero: " + data['ingeniero'], new Vector(Pos.quarter, Pos.two_thirds), this.font)
new Text("Ingeniero: " + data['ingeniero'], new Vector(Pos.third + 2, Pos.two_thirds), this.font)
]); ]);
return pointer.addxy(0, 3); return pointer.addxy(0, 3);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!