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

# IFillFormat

## Overview

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

Represents fill formatting options.

This interface provides 8 methods for working with IFillFormat objects in Java programs.
Available methods include: `getFillType`, `getGradientFormat`, `getPatternFormat`, `getPictureFillFormat`, `getRotateWithShape`, `getSolidFillColor`, `setFillType`, `setRotateWithShape`.
All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `fillType`, `gradientFormat`, `patternFormat`, `pictureFillFormat`, `rotateWithShape`, `solidFillColor`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `fillType` | `FillType` | Read | Returns the type of filling. |
| `solidFillColor` | `IColorFormat` | Read | Returns the fill color. |
| `gradientFormat` | `IGradientFormat` | Read | Returns the gradient fill format. |
| `patternFormat` | `IPatternFormat` | Read | Returns the pattern fill format. |
| `pictureFillFormat` | `IPictureFillFormat` | Read | Returns the picture fill format. |
| `rotateWithShape` | `NullableBool` | Read | Determines whether the fill should be rotated with the shape. |

## Methods

| Signature | Description |
|-----------|-------------|
| `getFillType()` → `FillType` | Returns the type of filling. |
| `setFillType(value: FillType)` | Sets the type of filling. |
| `getSolidFillColor()` → `IColorFormat` | Returns the fill color. |
| `getGradientFormat()` → `IGradientFormat` | Returns the gradient fill format. |
| `getPatternFormat()` → `IPatternFormat` | Returns the pattern fill format. |
| `getPictureFillFormat()` → `IPictureFillFormat` | Returns the picture fill format. |
| `getRotateWithShape()` → `NullableBool` | Determines whether the fill should be rotated with the shape. |
| `setRotateWithShape(value: NullableBool)` | Sets whether the fill should be rotated with the shape. |

## See Also

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