Is it possible to create Raphael's object but not drawing it on paper?
In example, i want to create circle, do some actions and show it on callback of actions.
Is it possible to create Raphael's object but not drawing it on paper?
In example, i want to create circle, do some actions and show it on callback of actions.
You would need what is called an "offscreen canvas", something that is currently not implemented in html5 (some people talk about it).
Maybe you can create a canvas and set the css to display: none
or visibility: hidden
, and copy the image data from one canvas to the other.