g-plugin-canvas-picker
Previous
g-plugin-canvas-path-generator
Next
g-plugin-svg-renderer
Loading...
Provides Canvas2D-based pickup capabilities.
The g-canvas renderer is built in by default, so there is no need to introduce it manually.
import { Renderer as CanvasRenderer } from '@antv/g-canvas';// Create a renderer with the plugin built inconst canvasRenderer = new CanvasRenderer();
Pickups based on the Canvas2D API implementation.
z-index
The solution is CPU-based, so the optimization point is whether the enclosing box intersection operation is fast enough.