@@ -680,12 +680,7 @@ declare module "jspdf" {
680680 options ?: { filename ?: string }
681681 ) : boolean ;
682682 pdfEscape ( text : string , flags : any ) : string ;
683- path (
684- lines ?: any [ ] ,
685- style ?: string ,
686- patternKey ?: string ,
687- patternData ?: any
688- ) : jsPDF ;
683+ path ( lines ?: any [ ] , style ?: string ) : jsPDF ;
689684 rect ( x : number , y : number , w : number , h : number , style ?: string ) : jsPDF ;
690685 restoreGraphicsState ( ) : jsPDF ;
691686 roundedRect (
@@ -731,8 +726,6 @@ declare module "jspdf" {
731726 setFillColor ( ch1 : string ) : jsPDF ;
732727 setFillColor ( ch1 : number , ch2 : number , ch3 : number , ch4 ?: number ) : jsPDF ;
733728 setFont ( fontName : string , fontStyle ?: string ) : jsPDF ;
734- setFontType ( fontStyle : string ) : jsPDF ;
735- setFontStyle ( fontStyle : string ) : jsPDF ;
736729 setFontSize ( size : number ) : jsPDF ;
737730 setGState ( gState : any ) : jsPDF ;
738731 setLineCap ( style : string | number ) : jsPDF ;
@@ -850,9 +843,6 @@ declare module "jspdf" {
850843
851844 // jsPDF plugin: AcroForm
852845 addField ( field : AcroFormField ) : jsPDF ;
853- addButton ( button : AcroFormButton ) : jsPDF ;
854- addTextField ( textField : AcroFormTextField ) : jsPDF ;
855- addChoiceField ( choiceField : AcroFormChoiceField ) : jsPDF ;
856846
857847 AcroForm : {
858848 ChoiceField ( ) : AcroFormChoiceField ;
@@ -941,13 +931,6 @@ declare module "jspdf" {
941931 splitTextToSize ( text : string , maxlen : number , options ?: any ) : any ;
942932
943933 // jsPDF plugin: SVG
944- addSVG (
945- svgtext : string ,
946- x : number ,
947- y : number ,
948- w ?: number ,
949- h ?: number
950- ) : jsPDF ;
951934 addSvgAsImage (
952935 svg : string ,
953936 x : number ,
0 commit comments