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

# GradientDirection

## Overview

`GradientDirection` is an enum in Aspose.Slides FOSS for Java.

Represents the gradient style.

This enum declares 1 method for GradientDirection objects in Java programs.
Available methods include: `getValue`.
Public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `value`.

## Values

| Value | Description |
|-------|-------------|
| `NOT_DEFINED` | Not defined. |
| `FROM_CORNER1` | From Top Left Corner. |
| `FROM_CORNER2` | From Top Right Corner. |
| `FROM_CORNER3` | From Bottom Left Corner. |
| `FROM_CORNER4` | From Bottom Right Corner. |
| `FROM_CENTER` | From Center. |

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `value` | `String` | Read | Returns the string value of this constant. |

## Methods

| Signature | Description |
|-----------|-------------|
| `getValue()` → `String` | Returns the string value of this constant. |

## See Also

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