Home > @visualization-tools/cartesian-2d > GlCartesianUpdateHooks
Canvas update hook, called before and after a plot is drawn.
Signature:
export declare class GlCartesianUpdateHooks implements ICategoryUpdateHooks<IGlRenderer<TGlBasicComponentRenderer>, ICartesian2dUpdateArg<Float32Array>>
Implements: ICategoryUpdateHooks<IGlRenderer<TGlBasicComponentRenderer>, ICartesian2dUpdateArg<Float32Array>>
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(getDrawRange) | Constructs a new instance of the GlCartesianUpdateHooks class |
| Method | Modifiers | Description |
|---|---|---|
| onAfterUpdate() | ||
| onBeforeUpdate(renderer, arg) |