import type { BaseBehaviorOptions, RuntimeContext, ShortcutKey } from '@antv/g6'; import { BasePlugin } from '@antv/g6'; /** * 滚动画布配置项 * * Roll Canvas Options */ export interface RollCanvas3DOptions extends BaseBehaviorOptions { enable?: boolean; /** * 按下该快捷键配合滚轮操作进行旋转 * * Press this shortcut key to rotate with the mouse wheel */ trigger?: ShortcutKey; /** * 灵敏度 * * Sensitivity */ sensitivity?: number; } /** * 滚动画布 * * Roll Canvas */ export declare class RollCanvas3D extends BasePlugin { static defaultOptions: Partial; private shortcut; private get camera(); constructor(context: RuntimeContext, options: RollCanvas3DOptions); private getAngle; private onRoll; private bindEvents; }