-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
752d04b
commit a723345
Showing
6 changed files
with
153 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
const FPDF = require('../index') | ||
const pdf=new FPDF(); | ||
|
||
let cPdfName=`${__dirname}/DashedRect.pdf` | ||
pdf.AddPage(); | ||
pdf.SetDrawColor(200); | ||
pdf.DashedRect(40,30,165,60); | ||
pdf.SetFont('Arial','B',30); | ||
pdf.SetXY(40,30); | ||
pdf.Cell(125,30,'Enjoy dashes!',0,0,'C'); | ||
pdf.Output('f',cPdfName) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const FPDF = require('../index') | ||
let cPdfName=`${__dirname}/RoundedRect.pdf` | ||
|
||
const pdf = new FPDF(); | ||
pdf.AddPage(); | ||
pdf.SetLineWidth(0.5); | ||
pdf.SetFillColor(192); | ||
pdf.RoundedRect(70, 30, 68, 46, 3.5, 'DF'); | ||
pdf.Output('f',cPdfName) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const FPDF = require('../index') | ||
let cPdfName=`${__dirname}/circle_ellipse.pdf` | ||
|
||
const pdf = new FPDF(); | ||
pdf.AddPage(); | ||
pdf.Ellipse(100,50,30,20); | ||
pdf.SetFillColor(255,255,0); | ||
pdf.Circle(110,47,7,'F'); | ||
pdf.Output('f',cPdfName) |