0.0.6 • Published 4 years ago

react_clip_canvas v0.0.6

Weekly downloads
35
License
-
Repository
-
Last release
4 years ago

This example was bootstrapped with Create React App.

It is linked to the react_clip package in the parent directory for development purposes.

You can run npm install and then npm start to test your package.

const EpubPages: page[] = [ { id: '11111111', width: 200, height: 300, overlays: { id: 'e_245656', iType: 'text', message: { text: 'ceshiwfnonfcknfcjmckm ', width: 100, height: 200, x: 60, y: 44 } }, { id: 'e_223456', iType: 'text', message: { text: '多文本渲染时,显示测试文本', width: 100, height: 200, x: 20, y: 44 } }, { id: 'e_78878', iType: 'image', message: { src: 'https://konvajs.org/assets/yoda.jpg', x: 10, y: 40 } }, { id: 'e_78378', iType: 'image', message: { src: 'https://konvajs.org/assets/yoda.jpg', x: 20, y: 60 } } } ]

let dom :document.getElementById('root') canvas2img(epubPages:any,dom:any)

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.1

4 years ago

0.0.2

4 years ago

0.0.0

4 years ago