2023-08-30 19:46:37 +08:00
|
|
|
|
---
|
|
|
|
|
title: RotateCanvas3DOptions
|
|
|
|
|
---
|
|
|
|
|
|
2023-10-11 20:33:18 +08:00
|
|
|
|
[概述-v5.0.0-beta.21](../../ readme.zh.md)/[模块](../../ modules.zh.md)/[capingiors](../。 ./modules/behaviors.zh.md)/rotatecanvas3doptions
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
[行为](../../模块/cravuciors.zh.md).rotatecanvas3doptions
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
## 特性
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
### eventname
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
•`可选的** eventname **:`string`
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
拖放结束时要触发的事件名称。
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
####定义
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
[packages/g6/src/stdlib/thement/rotate-canvas-3d.ts:31] canvas-3d.ts#l31)
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
---
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
### Secondarykey
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
•`可选的** SecondaryKey **:`弦乐
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
启用行为的辅助键。
|
|
|
|
|
如果未分配,则仅由触发触发。
|
|
|
|
|
您也可以用键盘上的键分配给它。 '转移',
|
|
|
|
|
仅在钥匙按下并触发触发器时才触发行为。
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
####定义
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
[packages/g6/src/stdlib/cratevy/rotate-canvas-3d.ts:19] canvas-3d.ts#l19)
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
---
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
###应该 begin
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
•`` 可选的** shosebegin ** :(`event`:[ ``Ig6graphevent`](ig6graphevent.zh.md))=>>'boolean`
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
####类型声明
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
▸(``event'):`boolean'
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
是否允许行为发生在当前项目上。
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
##### 参数
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
| 名称| 类型|
|
|
|
|
|
| :------- | :------- |
|
|
|
|
|
| `event` | [``ig6graphevent`](ig6graphevent.zh.md)|
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
#####返回
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
布尔'
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
####定义
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
[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)
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
---
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
### speedupkey
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
•`可选的** speepupkey **:`弦乐
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
在按下 Direciton 键(trigger ='directionkeys')时,请加快旋转并旋转画布。
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
####定义
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
[packages/g6/src/stdlib/thement/rotate-canvas-3d.ts:23] canvas-3d.ts#l23)
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
---
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
### 扳机
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
•`` 可选的**触发**:````'drag'`\ | ``指示键'''
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
将画布塑造的方式。 “拖动”(默认)是指鼠标拖动,“ DirectionKeys”是指键盘上的向上/下/左/右键。
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
####定义
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
[packages/g6/src/stdlib/行/行为/rotate-canvas-3d.ts:12] canvas-3d.ts#l12)
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
---
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
### triggeronItems
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
•`可选的** triggeronItems **:`boolean`
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
是否允许在节点/边缘/组合上放大画布。
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
####定义
|
2023-08-30 19:46:37 +08:00
|
|
|
|
|
2023-08-31 23:46:08 +08:00
|
|
|
|
[packages/g6/src/stdlib/thement/rotate-canvas-3d.ts:27] canvas-3d.ts#l27)
|