# Appliance enum 参考 (/zh-CN/api-reference/whiteboard/whiteboard-sdk/harmonyos/enum-appliance)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

<a id="details"></a>

## 详细描述 [#详细描述]

适用版本：**@shengwang/whiteboard 0.2.11**。

白板工具枚举，用于 MemberState.currentApplianceName 和 Controller 工具设置。

可从 @shengwang/whiteboard 直接导入 Appliance。导入后可访问枚举成员。

## 类型结构（源码声明） [#类型结构源码声明]

下方源码文件的 export 声明不等同于 SDK 包入口导出；业务导入方式以上方说明为准。

```text
export enum Appliance
```

| [PENCIL](/zh-CN/api-reference/whiteboard/whiteboard-sdk/harmonyos/enum-appliance#ab1718a8dc98a9c8d8eec4d49e23b95c2) | `PENCIL = "pencil",` |
| --- | --- |
| [SELECTOR](/zh-CN/api-reference/whiteboard/whiteboard-sdk/harmonyos/enum-appliance#a6969e84bc86ce5f087567b1448e333df) | `SELECTOR = "selector",` |
| [RECTANGLE](/zh-CN/api-reference/whiteboard/whiteboard-sdk/harmonyos/enum-appliance#a12d84ceeb7e9c6162d22c713f7783485) | `RECTANGLE = "rectangle",` |
| [ELLIPSE](/zh-CN/api-reference/whiteboard/whiteboard-sdk/harmonyos/enum-appliance#a789c801f96d0fe6e1241b668c5bffb73) | `ELLIPSE = "ellipse",` |
| [ERASER](/zh-CN/api-reference/whiteboard/whiteboard-sdk/harmonyos/enum-appliance#a8a348ac456d2f057eff69d459350fc22) | `ERASER = "eraser",` |
| [TEXT](/zh-CN/api-reference/whiteboard/whiteboard-sdk/harmonyos/enum-appliance#aefd5df828c46a24a533827b89039d5f5) | `TEXT = "text",` |
| [STRAIGHT](/zh-CN/api-reference/whiteboard/whiteboard-sdk/harmonyos/enum-appliance#ab12c08ef29af04632fa78f022a8a2837) | `STRAIGHT = "straight",` |
| [ARROW](/zh-CN/api-reference/whiteboard/whiteboard-sdk/harmonyos/enum-appliance#a755938bc302c3a3f1d0918548f81f470) | `ARROW = "arrow",` |
| [HAND](/zh-CN/api-reference/whiteboard/whiteboard-sdk/harmonyos/enum-appliance#a223420430adc34a12880e4d7ac95ea7c) | `HAND = "hand",` |
| [LASER_POINTER](/zh-CN/api-reference/whiteboard/whiteboard-sdk/harmonyos/enum-appliance#a451423acf93da6b3fda44a987dad750d) | `LASER_POINTER = "laserPointer",` |
| [CLICKER](/zh-CN/api-reference/whiteboard/whiteboard-sdk/harmonyos/enum-appliance#aa1504a49e0aa9f68fd7ffac3f9436c95) | `CLICKER = "clicker",` |
| [SHAPE](/zh-CN/api-reference/whiteboard/whiteboard-sdk/harmonyos/enum-appliance#a917e323b779c4e5e7ca17b8674367335) | `SHAPE = "shape",` |
| [PENCIL_ERASER](/zh-CN/api-reference/whiteboard/whiteboard-sdk/harmonyos/enum-appliance#af511b74750b887b9eb758302b2091226) | `PENCIL_ERASER = "pencilEraser",` |
| [LASER_PENCIL](/zh-CN/api-reference/whiteboard/whiteboard-sdk/harmonyos/enum-appliance#a94a372b9c1bad26abcb643601030e6cc) | `LASER_PENCIL = "laserPen",` |

## 变量说明 [#变量说明]

<a id="ab1718a8dc98a9c8d8eec4d49e23b95c2"></a>

### PENCIL [#pencil]

```text
PENCIL = "pencil",
```

铅笔工具，用于绘制自由线条。

<a id="a6969e84bc86ce5f087567b1448e333df"></a>

### SELECTOR [#selector]

```text
SELECTOR = "selector",
```

选择工具，用于选择和移动对象。

<a id="a12d84ceeb7e9c6162d22c713f7783485"></a>

### RECTANGLE [#rectangle]

```text
RECTANGLE = "rectangle",
```

矩形工具，用于绘制矩形。

<a id="a789c801f96d0fe6e1241b668c5bffb73"></a>

### ELLIPSE [#ellipse]

```text
ELLIPSE = "ellipse",
```

椭圆工具，用于绘制椭圆。

<a id="a8a348ac456d2f057eff69d459350fc22"></a>

### ERASER [#eraser]

```text
ERASER = "eraser",
```

橡皮擦工具，用于擦除内容。

<a id="aefd5df828c46a24a533827b89039d5f5"></a>

### TEXT [#text]

```text
TEXT = "text",
```

文本工具，用于添加文本。

<a id="ab12c08ef29af04632fa78f022a8a2837"></a>

### STRAIGHT [#straight]

```text
STRAIGHT = "straight",
```

直线工具，用于绘制直线。

<a id="a755938bc302c3a3f1d0918548f81f470"></a>

### ARROW [#arrow]

```text
ARROW = "arrow",
```

箭头工具，用于绘制箭头。

<a id="a223420430adc34a12880e4d7ac95ea7c"></a>

### HAND [#hand]

```text
HAND = "hand",
```

手形工具，用于拖动视图或进行其他交互。

<a id="a451423acf93da6b3fda44a987dad750d"></a>

### LASER_POINTER [#laser_pointer]

```text
LASER_POINTER = "laserPointer",
```

激光笔工具，用于高亮标记。

<a id="aa1504a49e0aa9f68fd7ffac3f9436c95"></a>

### CLICKER [#clicker]

```text
CLICKER = "clicker",
```

点击器工具，用于模拟点击操作。

<a id="a917e323b779c4e5e7ca17b8674367335"></a>

### SHAPE [#shape]

```text
SHAPE = "shape",
```

形状工具，用于绘制各种形状。

<a id="af511b74750b887b9eb758302b2091226"></a>

### PENCIL_ERASER [#pencil_eraser]

```text
PENCIL_ERASER = "pencilEraser",
```

铅笔橡皮擦工具，用于擦除铅笔绘制的内容。

<a id="a94a372b9c1bad26abcb643601030e6cc"></a>

### LASER_PENCIL [#laser_pencil]

```text
LASER_PENCIL = "laserPen",
```

激光铅笔工具，用于绘制类似激光笔的效果。
