g6/packages/site/docs/apis/behaviors/WIP-RotateCanvas3DOptions.zh.md
2023-11-07 21:39:59 +08:00

97 lines
2.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: RotateCanvas3DOptions
---
[概述-v5.0.0-beta.21]../../ readme.zh.md/[模块]../../ modules.zh.md/[capingiors]../。 ./modules/behaviors.zh.md/rotatecanvas3doptions
[行为]../../模块/cravuciors.zh.md.rotatecanvas3doptions
特性
### eventname
•`可选的** eventname **`string`
拖放结束时要触发的事件名称。
####定义
[packages/g6/src/stdlib/thement/rotate-canvas-3d.ts31] canvas-3d.tsl31
---
### Secondarykey
•`可选的** SecondaryKey **`弦乐
启用行为的辅助键。
如果未分配,则仅由触发触发。
您也可以用键盘上的键分配给它。 '转移'
仅在钥匙按下并触发触发器时才触发行为。
####定义
[packages/g6/src/stdlib/cratevy/rotate-canvas-3d.ts19] canvas-3d.tsl19
---
###应该 begin
•`` 可选的** shosebegin ** :`event`[ ``Ig6graphevent`]ig6graphevent.zh.md=>>'boolean`
####类型声明
▸(``event'`boolean'
是否允许行为发生在当前项目上。
参数
| 名称| 类型|
| ------- | ------- |
| `event` | [``ig6graphevent`]ig6graphevent.zh.md|
#####返回
布尔'
####定义
[packages/g6/src/stdlib/cratevy/rotate-canvas-3d.ts35]https://github.com/antvis/antvis/g6/blob/61e525e59b/packages/packages/g6/g6/src/src/src/stdlib/stdlib/behavior-behavior/rotate-/rottate--behavior/rotate-/rotrotate-/rotrotate-- canvas-3d.tsl35
---
### speedupkey
•`可选的** speepupkey **`弦乐
在按下 Direciton 键trigger ='directionkeys')时,请加快旋转并旋转画布。
####定义
[packages/g6/src/stdlib/thement/rotate-canvas-3d.ts23] canvas-3d.tsl23
---
扳机
•`` 可选的**触发**````'drag'`\ | ``指示键'''
将画布塑造的方式。 “拖动”(默认)是指鼠标拖动,“ DirectionKeys”是指键盘上的向上/下/左/右键。
####定义
[packages/g6/src/stdlib/行/行为/rotate-canvas-3d.ts12] canvas-3d.tsl12
---
### triggeronItems
•`可选的** triggeronItems **`boolean`
是否允许在节点/边缘/组合上放大画布。
####定义
[packages/g6/src/stdlib/thement/rotate-canvas-3d.ts27] canvas-3d.tsl27