
## Padding class

**Module:** `aspose_barcode.generation.padding`


Paddings parameters.


## Constructors

| Name | Description |
| --- | --- |
| [__init__](#constructor) |  |

## Methods

| Name | Return Type | Static | Description |
| --- | --- | --- | --- |
| [__str__](#__str__) | `str` | No | Returns a human-readable string representation of this Padding. |

## Properties

| Name | Type | Description |
| --- | --- | --- |
| [bottom](#bottom) | `Optional[Unit]` | Bottom padding. |
| [left](#left) | `Optional[Unit]` | Left padding. |
| [right](#right) | `Optional[Unit]` | Right padding. |
| [top](#top) | `Optional[Unit]` | Top padding. |

### Padding Constructor {#constructor}

```python
__init__(self, _java_class)
```

| Parameter | Type | Description |
| --- | --- | --- |
| `_java_class` | `` |  |

### Padding.__str__ {#__str__}

```python
__str__(self) -> str
```

Returns a human-readable string representation of this Padding.

**Return Type:** `str` — A string that represents this Padding.

### Padding.bottom {#bottom}

**Type:** `Optional[Unit]`

Bottom padding.

Bottom padding.

| Parameter | Type | Description |
| --- | --- | --- |
| `value` | `Unit` |  |

### Padding.left {#left}

**Type:** `Optional[Unit]`

Left padding.

Left padding.

| Parameter | Type | Description |
| --- | --- | --- |
| `value` | `Unit` |  |

### Padding.right {#right}

**Type:** `Optional[Unit]`

Right padding.

Right padding.

| Parameter | Type | Description |
| --- | --- | --- |
| `value` | `Unit` |  |

### Padding.top {#top}

**Type:** `Optional[Unit]`

Top padding.

Top padding.

| Parameter | Type | Description |
| --- | --- | --- |
| `value` | `Unit` |  |

