The RenderController is responsible for enqueueing and synchronizing layout and render calls for Components.
Layout and render calls occur inside an animation callback (window.requestAnimationFrame if available).
RenderController.flush() immediately lays out and renders all Components currently enqueued.
To always have immediate rendering (useful for debugging), call
Plottable.RenderController.setRenderPolicy( new Plottable.RenderPolicies.Immediate() );
Renders all Components waiting to be rendered immediately instead of waiting until the next frame.
Useful to call when debugging.
Enqueues the Component for layout and rendering.
Enqueues the Component for rendering.
Generated using TypeDoc
The RenderController is responsible for enqueueing and synchronizing layout and render calls for Components.
Layout and render calls occur inside an animation callback (window.requestAnimationFrame if available).
RenderController.flush() immediately lays out and renders all Components currently enqueued.
To always have immediate rendering (useful for debugging), call
Plottable.RenderController.setRenderPolicy( new Plottable.RenderPolicies.Immediate() );