## XpsSpreadMethod enum


Valid values of gradient brushes' SpreadMethod property.

```cpp
enum class XpsSpreadMethod
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| Pad | 0 | In this method, the first color and the last color are used to fill the remaining fill area at the beginning and end. |
| Reflect | 1 | In this method, the gradient stops are replayed in reverse order repeatedly to cover the fill area. |
| Repeat | 2 | In this method, the gradient stops are repeated in order until the fill area is covered. |

## See Also

* Namespace [Aspose::Page::XPS::XpsModel](../)
* Library [Aspose.Page for C++](../../)
