Interface BeforeDrawHook
-
public interface BeforeDrawHookCalled before drawing 'chart' at every animation frame.
If any plugin returnsfalse, the frame drawing is cancelled until another 'render' is triggered.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanonBeforeDraw(IsChart chart)Called before drawing 'chart' at every animation frame.
If any plugin returnsfalse, the frame drawing is cancelled until another 'render' is triggered.
-
-
-
Method Detail
-
onBeforeDraw
boolean onBeforeDraw(IsChart chart)
Called before drawing 'chart' at every animation frame.
If any plugin returnsfalse, the frame drawing is cancelled until another 'render' is triggered.- Parameters:
chart- the chart instance.- Returns:
falseto cancel the chart drawing.
-
-