Interface BeforeDrawHook
-
public interface BeforeDrawHook
Called 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 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.
-
-
-
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:
false
to cancel the chart drawing.
-
-