Mercurial > gemma
changeset 3783:40b962c4190b yworks-svg2pdf
PDF: Fairwayprofile use setLineDashPattern
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Wed, 03 Jul 2019 09:47:59 +0200 |
parents | d36ccff8de5f |
children | 110436ee8ed2 |
files | client/src/components/fairway/Fairwayprofile.vue |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/fairway/Fairwayprofile.vue Tue Jul 02 14:53:57 2019 +0200 +++ b/client/src/components/fairway/Fairwayprofile.vue Wed Jul 03 09:47:59 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.setLineDash([0.3]); + this.pdf.doc.setLineDashPattern([0.3]); 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.setLineDash([1]); + this.pdf.doc.setLineDashPattern([1]); 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.setLineDash(); + this.pdf.doc.setLineDashPattern([]); 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)");