V
V
Vitaly2017-01-31 10:06:29
Canvas
Vitaly, 2017-01-31 10:06:29

How to draw a page on canvas?

Greetings. Wondering if there is a way to render standard web components in React style using inline styles on canvas?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Belyaev, 2017-01-31
@bingo347

You can try using origami.js

G
GreatRash, 2017-01-31
@GreatRash

1) Browser must support SVG (IE9+)
2) Browser must support foreignObject (IE in span)
3) Browser must support Blob (IE10+)
4) The resulting image will be non-functional, ie. it will be a stupid screenshot
Sobssno example.
UPD: I also found a developing project.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question