pdf frame
v2.2.0

www.pdf-frame.org
| 패키지 | 버전 |
|---|---|
| PDF- 프레임 vue | |
| PDF- 프레임-렉스 |
PDF- 프레임은 클라이언트 측 선언적 HTML 구문 및 의미론을 통해 PDF/Canvas 그래픽 컨텐츠를 정의하는 쉽고 효율적인 방법을 제공합니다. SVG와 유사한 구문을 따르고 VUE, NUXT 및 React (진행중인 작업)와 같은 인기있는 프레임 워크에 대한 구성 요소 지원을 제공합니다. I2DJ로 구동되는 PDF- 프레임은 현재 PDF 및 Canvas 형식으로 렌더링 출력을 지원합니다.
< pdfFrame type =" canvas " width =" 595 " height =" 841 " >
< i-g :transform =" { translate: [100, 200], scale: [2, 3], rotate: [ 45, 0, 0] } " >
< i-text :x =" 30 " :y =" 60 " :text =" 'Page 1 Title' " :width =" 530 " :style =" {font: '25px Arial', align: 'center'} " > </ i-text >
< i-rect :x =" 30 " :y =" 100 " :width =" 535 " :height =" 700 " :style =" { fillStyle:'#f0f0f0' } " > </ i-rect >
< i-image src =" src/assets/i2d-frame.svg " :width =" 200 " :x =" 175 " :y =" 100 " > </ i-image >
</ i-g >
</ pdfFrame > < pdfFrame type =" pdf " width =" 595 " height =" 841 " >
< i-g :transform =" { translate: [100, 200], scale: [2, 3], rotate: [ 45, 0, 0] } " >
< i-text :x =" 30 " :y =" 60 " :text =" 'Page 1 Title' " :width =" 530 " :style =" {font: '25px Arial', align: 'center'} " > </ i-text >
< i-rect :x =" 30 " :y =" 100 " :width =" 535 " :height =" 700 " :style =" { fillStyle:'#f0f0f0' } " > </ i-rect >
< i-image src =" src/assets/i2d-frame.svg " :width =" 200 " :x =" 175 " :y =" 100 " > </ i-image >
</ i-g >
</ pdfFrame > < pdfFrame type =" pdf " width =" 595 " height =" 841 " >
<!-- Page Templates -->
< i-page-template id =" temp-1 " >
< i-rect :x =" 0 " :y =" 0 " :width =" 595 " :height =" 841 " :style =" { fillStyle:'#ffffff' } " > </ i-rect >
< i-text :x =" 30 " :y =" 30 " :text =" 'Header Text' " :width =" 530 " :style =" {font: '15px Arial'} " > </ i-text >
< i-text :x =" 30 " :y =" 810 " :text =" 'Footer Text' " :width =" 530 " :style =" {font: '15px Arial'} " > </ i-text >
</ i-page-template >
<!-- Page 1 -->
< i-page p-template =" temp-1 " >
< i-g :transform =" { translate: [100, 200], scale: [2, 3], rotate: [ 45, 0, 0] } " >
< i-text :x =" 30 " :y =" 60 " :text =" 'Page 1 Title' " :width =" 530 " :style =" {font: '25px Arial', align: 'center'} " > </ i-text >
< i-rect :x =" 30 " :y =" 100 " :width =" 535 " :height =" 700 " :style =" { fillStyle:'#f0f0f0' } " > </ i-rect >
</ i-g >
</ i-page >
<!-- Page 2 -->
< i-page p-template =" temp-1 " >
< i-text :x =" 30 " :y =" 60 " :text =" 'Page 2 Title' " :width =" 530 " :style =" {font: '25px Arial', align: 'center'} " > </ i-text >
< i-image src =" src/assets/i2d-frame.svg " :width =" 200 " :x =" 175 " :y =" 100 " > </ i-image >
</ i-page >
</ pdfFrame > 기부금을 환영합니다! PDF- 프레임에 기여하려면 Contributing.md의 지침을 따르십시오.
이 프로젝트는 MIT 라이센스에 따라 라이센스가 부여됩니다. 자세한 내용은 라이센스 파일을 참조하십시오.
문의 나 지원은 [email protected] 으로 문의하십시오.