---
Product: Aspose.Font
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/font/python/paintsolid
---

# PaintSolid

## Overview

`PaintSolid` is a class in Aspose.Font FOSS for Python.

PaintSolid models a solid color fill with a palette index and an alpha (opacity) value.

Properties: `alpha`, `palette_index`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `palette_index` | `int` | Read/Write | Gets or sets the palette index. |
| `alpha` | `float` | Read/Write | Gets or sets the alpha. |

## See Also

- [Aspose.Font — Enterprise API Reference](https://reference.aspose.com/font/)