jsPDF教程

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/github_35631540/article/details/85066057

从国外人工搬回来的文档

jsPDF的方法如下:

addFont  // 添加字体
addPage // 增加一页
circle // 画圆
clip // 画椭圆
deletePage // 删除一页
ellipse // 画椭圆
getCharSpace
getCreationDate
getDrawColor
getFileId
getFillColor
getFontList
getLineHeightFactor
getTextColor
insertPage
line
lines
lstext
movePage // 移动一页
output
rect // 画矩形
roundedRect
save  // 保存一个pdf
setCharSpace
setCreationDate
setDisplayMode
setDrawColor
setFileId
setFillColor
setFont
setFontSize
setFontSize
setFontStyle
setLineCap
setLineHeightFactor
setLineJoin
setLineWidth
setPage
setProperties
setR2L
setR2L
setTextColor
text // 写入文本
triangle

猜你喜欢

转载自blog.csdn.net/github_35631540/article/details/85066057