---
title: "XpsBrush class"
url: "https://reference.aspose.com/page/python-net/aspose.page.xps.xpsmodel/xpsbrush/"
product: "Aspose.Page for Python via .NET API Reference"
---


## XpsBrush class

Class incapsulating common features of all brush elements.

**Inheritance:** `XpsBrush` → [`XpsObject`](/page/python-net/aspose.page.xps.xpsmodel/xpsobject)

The XpsBrush type exposes the following members:
## Properties
| Name | Description |
| :- | :- |
| `opacity` | Returns/sets value defining the uniform transparency of the brush fill. |

### See Also

* module [`aspose.page.xps.xpsmodel`](/page/python-net/aspose.page.xps.xpsmodel/)
* package [`aspose.page`](/page/python-net/)

