opentok-whiteboard | Shared Whiteboard that works with OpenTok | Runtime Evironment library
kandi X-RAY | opentok-whiteboard Summary
kandi X-RAY | opentok-whiteboard Summary
Shared Whiteboard that works with OpenTok. It is intended to be used with the [opentok-angular] module.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of opentok-whiteboard
opentok-whiteboard Key Features
opentok-whiteboard Examples and Code Snippets
Community Discussions
Trending Discussions on opentok-whiteboard
QUESTION
Using paperjs if I rotate p.view.rotate(update.deg);
it is working fine with out issue.
If I refresh the page and call the above function p.view.rotate(update.deg);
onload then the view is different. it is displaying a slight zoom.
default image rotation
After reloading the page I am rotating p.view
with the previous value. then it is displaying as
Here is my js file
https://github.com/muralibobby35/annotateJs/blob/master/opentok-whiteboardnew.js
...ANSWER
Answered 2018-Nov-09 at 10:56I was not able to run your code but I would suggest, for an easier project state preservation, that you use transformations (scale, rotation, ...) through layer rather than through view.
That would allow you to easily export/import your project whithout having to manually restore state by calling view.rotate()
like methods on window reload.
Here is a fiddle demonstrating the solution.
It simulates window reload by exporting/importing a project from one canvas to another empty one.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install opentok-whiteboard
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page