---
Product: Aspose.Slides
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/python/GradientDirection
---

# GradientDirection

## Overview

`GradientDirection` is a enum in Aspose.Slides FOSS for Python.

Represents the gradient style.

This enumeration defines 6 values: `NOT_DEFINED`, `FROM_CORNER1`, `FROM_CORNER2`, `FROM_CORNER3`, `FROM_CORNER4`, `FROM_CENTER`.

## Values

| Value | Description |
|-------|-------------|
| `NOT_DEFINED` | Represents an undefined or default gradient direction |
| `FROM_CORNER1` | Represents a gradient that starts from corner 1 |
| `FROM_CORNER2` | Represents a gradient that starts from corner 2 |
| `FROM_CORNER3` | Represents a gradient that starts from corner 3 |
| `FROM_CORNER4` | Represents a gradient that starts from corner 4 |
| `FROM_CENTER` | Represents a gradient that radiates outward from the center |

## See Also

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