visualization-tools

Home > @visualization-tools/cartesian-2d > GlCartesianUpdateHooks

GlCartesianUpdateHooks class

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>>

Constructors

Constructor Modifiers Description
(constructor)(getDrawRange)   Constructs a new instance of the GlCartesianUpdateHooks class

Methods

Method Modifiers Description
onAfterUpdate()    
onBeforeUpdate(renderer, arg)