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

# IGradientStop

## Overview

`IGradientStop` is a interface in Aspose.Slides FOSS for Java.

Represents a gradient stop.

This interface provides 3 methods for working with IGradientStop objects in Java programs.
Available methods include: `getColor`, `getPosition`, `setPosition`.
All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `color`, `position`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `position` | `double` | Read | Returns or sets the position (0..1) of a gradient stop. |
| `color` | `IColorFormat` | Read | Returns the color of a gradient stop. |

## Methods

| Signature | Description |
|-----------|-------------|
| `getPosition()` → `double` | Returns or sets the position (0..1) of a gradient stop. |
| `setPosition(value: double)` | Sets the position of a gradient stop. |
| `getColor()` → `IColorFormat` | Returns the color of a gradient stop. |

## See Also

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