Mercurial > gemma
comparison 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 |
comparison
equal
deleted
inserted
replaced
3783:40b962c4190b | 3784:110436ee8ed2 |
---|---|
511 this.pdf.doc.setDrawColor("#5995ff"); | 511 this.pdf.doc.setDrawColor("#5995ff"); |
512 this.pdf.doc.setFillColor("#5995ff"); | 512 this.pdf.doc.setFillColor("#5995ff"); |
513 this.pdf.doc.circle(x, y, 2, "FD"); | 513 this.pdf.doc.circle(x, y, 2, "FD"); |
514 this.pdf.doc.text(x + 3, y + 1, "Water"); | 514 this.pdf.doc.text(x + 3, y + 1, "Water"); |
515 | 515 |
516 this.pdf.doc.setLineDashPattern([0.3]); | 516 this.pdf.doc.setLineDashPattern([0.3], 0); |
517 this.pdf.doc.setDrawColor("#0000ff"); | 517 this.pdf.doc.setDrawColor("#0000ff"); |
518 this.pdf.doc.setFillColor("#fcfacc"); | 518 this.pdf.doc.setFillColor("#fcfacc"); |
519 this.pdf.doc.circle(x, y + 5, 2, "FD"); | 519 this.pdf.doc.circle(x, y + 5, 2, "FD"); |
520 this.pdf.doc.text(x + 3, y + 6, "Fairway (LOS 1)"); | 520 this.pdf.doc.text(x + 3, y + 6, "Fairway (LOS 1)"); |
521 | 521 |
522 this.pdf.doc.setLineDashPattern([1]); | 522 this.pdf.doc.setLineDashPattern([1], 0); |
523 this.pdf.doc.setFillColor("#fdfce5"); | 523 this.pdf.doc.setFillColor("#fdfce5"); |
524 this.pdf.doc.circle(x, y + 10, 2, "FD"); | 524 this.pdf.doc.circle(x, y + 10, 2, "FD"); |
525 this.pdf.doc.text(x + 3, y + 11, "Fairway (LOS 2)"); | 525 this.pdf.doc.text(x + 3, y + 11, "Fairway (LOS 2)"); |
526 | 526 |
527 this.pdf.doc.setLineDashPattern([]); | 527 this.pdf.doc.setLineDashPattern([], 0); |
528 this.pdf.doc.setFillColor("#ffffff"); | 528 this.pdf.doc.setFillColor("#ffffff"); |
529 this.pdf.doc.circle(x, y + 15, 2, "FD"); | 529 this.pdf.doc.circle(x, y + 15, 2, "FD"); |
530 this.pdf.doc.text(x + 3, y + 16, "Fairway (LOS 3)"); | 530 this.pdf.doc.text(x + 3, y + 16, "Fairway (LOS 3)"); |
531 | 531 |
532 this.pdf.doc.setDrawColor("black"); | 532 this.pdf.doc.setDrawColor("black"); |