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

# GradientFormat

## Overview

`GradientFormat` is a class in Aspose.Slides FOSS for Python.
Inherits from: `PVIObject`, `ISlideComponent`, `IPresentationComponent`.

Represent a gradient format.

Properties: `as_i_presentation_component`, `gradient_direction`, `gradient_shape`, `gradient_stops`, `linear_gradient_angle`, `linear_gradient_scaled`, and 3 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `tile_flip` | `TileFlip` | Read/Write | Returns or sets the flipping mode for a gradient. |
| `gradient_direction` | `GradientDirection` | Read/Write | Returns or sets the style of a gradient. |
| `linear_gradient_angle` | `float` | Read/Write | Returns or sets the angle of a gradient. |
| `linear_gradient_scaled` | `NullableBool` | Read/Write | Determines whether a gradient is scaled. |
| `gradient_shape` | `GradientShape` | Read/Write | Returns or sets the shape of a gradient. |
| `gradient_stops` | `IGradientStopCollection` | Read | Returns the collection of gradient stops. |
| `as_i_presentation_component` | `IPresentationComponent` | Read | Allows to get base IPresentationComponent interface. |
| `slide` | `IBaseSlide` | Read | Gets the slide. |
| `presentation` | `IPresentation` | Read | Gets the presentation. |

## See Also

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