Mercurial > gemma
diff client/src/components/fairway/Fairwayprofile.vue @ 3784:110436ee8ed2 yworks-svg2pdf
Fairwayprofile: dashed patterns in PDF
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Wed, 03 Jul 2019 12:38:13 +0200 |
parents | 40b962c4190b |
children | 0c5816af79a5 |
line wrap: on
line diff
--- a/client/src/components/fairway/Fairwayprofile.vue Wed Jul 03 09:47:59 2019 +0200 +++ b/client/src/components/fairway/Fairwayprofile.vue Wed Jul 03 12:38:13 2019 +0200 @@ -513,18 +513,18 @@ this.pdf.doc.circle(x, y, 2, "FD"); this.pdf.doc.text(x + 3, y + 1, "Water"); - this.pdf.doc.setLineDashPattern([0.3]); + this.pdf.doc.setLineDashPattern([0.3], 0); this.pdf.doc.setDrawColor("#0000ff"); this.pdf.doc.setFillColor("#fcfacc"); this.pdf.doc.circle(x, y + 5, 2, "FD"); this.pdf.doc.text(x + 3, y + 6, "Fairway (LOS 1)"); - this.pdf.doc.setLineDashPattern([1]); + this.pdf.doc.setLineDashPattern([1], 0); this.pdf.doc.setFillColor("#fdfce5"); this.pdf.doc.circle(x, y + 10, 2, "FD"); this.pdf.doc.text(x + 3, y + 11, "Fairway (LOS 2)"); - this.pdf.doc.setLineDashPattern([]); + this.pdf.doc.setLineDashPattern([], 0); this.pdf.doc.setFillColor("#ffffff"); this.pdf.doc.circle(x, y + 15, 2, "FD"); this.pdf.doc.text(x + 3, y + 16, "Fairway (LOS 3)");