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

# GradientShape

## Overview

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

Represents the shape of gradient fill.

This enumeration defines 5 values: `NOT_DEFINED`, `LINEAR`, `RECTANGLE`, `RADIAL`, `PATH`.

## Values

| Value | Description |
|-------|-------------|
| `NOT_DEFINED` | Represents an undefined or default gradient shape |
| `LINEAR` | Represents a linear gradient shape |
| `RECTANGLE` | Represents a rectangular gradient shape |
| `RADIAL` |  |
| `PATH` | Represents a gradient shape that follows a custom path |

## See Also

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