mirror of
https://gitee.com/antv/g6.git
synced 2024-12-16 02:21:25 +08:00
97 lines
2.2 KiB
Markdown
97 lines
2.2 KiB
Markdown
---
|
||
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.ts:31] canvas-3d.ts#l31)
|
||
|
||
---
|
||
|
||
### Secondarykey
|
||
|
||
•`可选的** SecondaryKey **:`弦乐
|
||
|
||
启用行为的辅助键。
|
||
如果未分配,则仅由触发触发。
|
||
您也可以用键盘上的键分配给它。 '转移',
|
||
仅在钥匙按下并触发触发器时才触发行为。
|
||
|
||
####定义
|
||
|
||
[packages/g6/src/stdlib/cratevy/rotate-canvas-3d.ts:19] canvas-3d.ts#l19)
|
||
|
||
---
|
||
|
||
###应该 begin
|
||
|
||
•`` 可选的** shosebegin ** :(`event`:[ ``Ig6graphevent`](ig6graphevent.zh.md))=>>'boolean`
|
||
|
||
####类型声明
|
||
|
||
▸(``event'):`boolean'
|
||
|
||
是否允许行为发生在当前项目上。
|
||
|
||
##### 参数
|
||
|
||
| 名称| 类型|
|
||
| :------- | :------- |
|
||
| `event` | [``ig6graphevent`](ig6graphevent.zh.md)|
|
||
|
||
#####返回
|
||
|
||
布尔'
|
||
|
||
####定义
|
||
|
||
[packages/g6/src/stdlib/cratevy/rotate-canvas-3d.ts:35](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.ts#l35)
|
||
|
||
---
|
||
|
||
### speedupkey
|
||
|
||
•`可选的** speepupkey **:`弦乐
|
||
|
||
在按下 Direciton 键(trigger ='directionkeys')时,请加快旋转并旋转画布。
|
||
|
||
####定义
|
||
|
||
[packages/g6/src/stdlib/thement/rotate-canvas-3d.ts:23] canvas-3d.ts#l23)
|
||
|
||
---
|
||
|
||
### 扳机
|
||
|
||
•`` 可选的**触发**:````'drag'`\ | ``指示键'''
|
||
|
||
将画布塑造的方式。 “拖动”(默认)是指鼠标拖动,“ DirectionKeys”是指键盘上的向上/下/左/右键。
|
||
|
||
####定义
|
||
|
||
[packages/g6/src/stdlib/行/行为/rotate-canvas-3d.ts:12] canvas-3d.ts#l12)
|
||
|
||
---
|
||
|
||
### triggeronItems
|
||
|
||
•`可选的** triggeronItems **:`boolean`
|
||
|
||
是否允许在节点/边缘/组合上放大画布。
|
||
|
||
####定义
|
||
|
||
[packages/g6/src/stdlib/thement/rotate-canvas-3d.ts:27] canvas-3d.ts#l27)
|