# Scale

```python
class Scale
```

Struct for scale values.

## Attributes

| Name | Description |
| --- | --- |
| [`scale_list`](<#scale-list>) |  |
| [`scale`](<#scale>) |  |
| [`is_uniform`](<#is-uniform>) |  |

### scale\_list

```python
property scale_list: List[float]
```

### scale

```python
property scale: float
```

### is\_uniform

```python
property is_uniform: bool
```

## Methods

| Name | Description |
| --- | --- |
| [`__init__`](<#init>) |  |
| [`from_cpp`](<#from-cpp>) |  |
| [`__getitem__`](<#getitem>) | Returns the scale value at the specified index. |
| [`__repr__`](<#repr>) |  |

### \_\_init\_\_

```python
def __init__(self, scale: float, is_uniform: bool, scale_list: List[float])
```

### from\_cpp

```python
def from_cpp(cls, _scale: _cQbRuntime.Scale)
```

### \_\_getitem\_\_

```python
def __getitem__(self, i: int) -> float
```

Returns the scale value at the specified index.

**Parameters**

- `i` *\[in\]* — Index.

**Returns**

[Scale](<https://docs.mobilint.com/runtime/kr/v1.1/api/python/Scale/index.md>) value.

### \_\_repr\_\_

```python
def __repr__(self)
```
