# IPCB\_LayerItem interface

图层属性

## Signature

```typescript
interface IPCB_LayerItem 
```

## Properties

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[color](./IPCB_LayerItem.md)


</td><td>


</td><td>

string


</td><td>

颜色（RGB HEX 格式）


</td></tr>
<tr><td>

[id](./IPCB_LayerItem.md)


</td><td>


</td><td>

[EPCB\_LayerId](../enums/EPCB_LayerId.md)


</td><td>

图层 ID


</td></tr>
<tr><td>

[inactiveColor](./IPCB_LayerItem.md)


</td><td>


</td><td>

string


</td><td>

非激活颜色（RGB HEX 格式）


</td></tr>
<tr><td>

[inactiveTransparency](./IPCB_LayerItem.md)


</td><td>


</td><td>

number


</td><td>

非激活透明度（%）


</td></tr>
<tr><td>

[layerStatus](./IPCB_LayerItem.md)


</td><td>


</td><td>

[EPCB\_LayerStatus](../enums/EPCB_LayerStatus.md)


</td><td>

层状态


</td></tr>
<tr><td>

[locked](./IPCB_LayerItem.md)


</td><td>


</td><td>

boolean


</td><td>

是否锁定


</td></tr>
<tr><td>

[name](./IPCB_LayerItem.md)


</td><td>


</td><td>

string


</td><td>

名称


</td></tr>
<tr><td>

[transparency](./IPCB_LayerItem.md)


</td><td>


</td><td>

number


</td><td>

透明度（%）


</td></tr>
<tr><td>

[type](./IPCB_LayerItem.md)


</td><td>


</td><td>

[EPCB\_LayerType](../enums/EPCB_LayerType.md)


</td><td>

类型


</td></tr>
</tbody></table>

---

## 属性详情

### color

# IPCB\_LayerItem.color property

颜色（RGB HEX 格式）

## Signature

```typescript
color: string;
```

### id

# IPCB\_LayerItem.id property

图层 ID

## Signature

```typescript
id: EPCB_LayerId;
```

### inactivecolor

# IPCB\_LayerItem.inactiveColor property

非激活颜色（RGB HEX 格式）

## Signature

```typescript
inactiveColor: string;
```

### inactivetransparency

# IPCB\_LayerItem.inactiveTransparency property

非激活透明度（%）

## Signature

```typescript
inactiveTransparency: number;
```

### layerstatus

# IPCB\_LayerItem.layerStatus property

层状态

## Signature

```typescript
layerStatus: EPCB_LayerStatus;
```

### locked

# IPCB\_LayerItem.locked property

是否锁定

## Signature

```typescript
locked: boolean;
```

### name

# IPCB\_LayerItem.name property

名称

## Signature

```typescript
name: string;
```

### transparency

# IPCB\_LayerItem.transparency property

透明度（%）

## Signature

```typescript
transparency: number;
```

### type

# IPCB\_LayerItem.type property

类型

## Signature

```typescript
type: EPCB_LayerType;
```
