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

# IGradientFormat

## Overview

`IGradientFormat` is a interface in Aspose.Slides FOSS for Java.
Inherits from: `IFillParamSource`.

Represents a gradient format.

This interface provides 11 methods for working with IGradientFormat objects in Java programs.
Available methods include: `getGradientDirection`, `getGradientShape`, `getGradientStops`, `getLinearGradientAngle`, `getLinearGradientScaled`, `getTileFlip`, `setGradientDirection`, `setGradientShape`, `setLinearGradientAngle`, `setLinearGradientScaled`, `setTileFlip`.
All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `gradientDirection`, `gradientShape`, `gradientStops`, `linearGradientAngle`, `linearGradientScaled`, `tileFlip`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `tileFlip` | `TileFlip` | Read | Returns or sets the flipping mode for a gradient. |
| `gradientDirection` | `GradientDirection` | Read | Returns or sets the style of a gradient. |
| `linearGradientAngle` | `double` | Read | Returns or sets the angle of a gradient. |
| `linearGradientScaled` | `NullableBool` | Read | Determines whether a gradient is scaled. |
| `gradientShape` | `GradientShape` | Read | Returns or sets the shape of a gradient. |
| `gradientStops` | `IGradientStopCollection` | Read | Returns the collection of gradient stops. |

## Methods

| Signature | Description |
|-----------|-------------|
| `getTileFlip()` → `TileFlip` | Returns or sets the flipping mode for a gradient. |
| `setTileFlip(value: TileFlip)` | Sets the flipping mode for a gradient. |
| `getGradientDirection()` → `GradientDirection` | Returns or sets the style of a gradient. |
| `setGradientDirection(value: GradientDirection)` | Sets the style of a gradient. |
| `getLinearGradientAngle()` → `double` | Returns or sets the angle of a gradient. |
| `setLinearGradientAngle(value: double)` | Sets the angle of a gradient. |
| `getLinearGradientScaled()` → `NullableBool` | Determines whether a gradient is scaled. |
| `setLinearGradientScaled(value: NullableBool)` | Sets whether a gradient is scaled. |
| `getGradientShape()` → `GradientShape` | Returns or sets the shape of a gradient. |
| `setGradientShape(value: GradientShape)` | Sets the shape of a gradient. |
| `getGradientStops()` → `IGradientStopCollection` | Returns the collection of gradient stops. |

## See Also

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