---
title: "EmfGradientFill"
url: "https://reference.aspose.com/imaging/java/com.aspose.imaging.fileformats.emf.emf.consts/emfgradientfill/"
product: "Aspose.Imaging for Java API Reference"
description: "The GradientFill enumeration defines the modes for gradient fill operations."
---

**Inheritance:**
java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
```
public final class EmfGradientFill extends System.Enum
```

The GradientFill enumeration defines the modes for gradient fill operations.
## Fields

| Field | Description |
| --- | --- |
| [GRADIENT_FILL_RECT_H](#GRADIENT-FILL-RECT-H) | A mode in which color interpolation is performed along a gradient from the left to the right edges of a rectangle |
| [GRADIENT_FILL_RECT_V](#GRADIENT-FILL-RECT-V) | A mode in which color interpolation is performed along a gradient from the top to the bottom edges of a rectangle. |
| [GRADIENT_FILL_TRIANGLE](#GRADIENT-FILL-TRIANGLE) | A mode in which color interpolation is performed between vertexes of a triangleS |
### GRADIENT_FILL_RECT_H {#GRADIENT-FILL-RECT-H}
```
public static final int GRADIENT_FILL_RECT_H
```


A mode in which color interpolation is performed along a gradient from the left to the right edges of a rectangle

### GRADIENT_FILL_RECT_V {#GRADIENT-FILL-RECT-V}
```
public static final int GRADIENT_FILL_RECT_V
```


A mode in which color interpolation is performed along a gradient from the top to the bottom edges of a rectangle.

### GRADIENT_FILL_TRIANGLE {#GRADIENT-FILL-TRIANGLE}
```
public static final int GRADIENT_FILL_TRIANGLE
```


A mode in which color interpolation is performed between vertexes of a triangleS

