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

# FillFormat

## Overview

`FillFormat` is a class in Aspose.Slides FOSS for Java.
Inherits from: `PVIObject`, `IFillFormat`, `IFillParamSource`.

Represents fill formatting properties.

This class provides 15 methods for working with FillFormat objects in Java programs.
Available methods include: `FillFormat`, `PVIObject`, `asIPresentationComponent`, `getFillType`, `getGradientFormat`, `getPatternFormat`, `getPictureFillFormat`, `getPresentation`, `getRotateWithShape`, `getSlide`, `getSolidFillColor`, `initInternal`, and 2 additional methods.
All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `fillType`, `gradientFormat`, `patternFormat`, `pictureFillFormat`, `presentation`, `rotateWithShape`, and 2 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `fillType` | `FillType` | Read | Gets the fill type. |
| `solidFillColor` | `IColorFormat` | Read | Gets the solid fill color. |
| `gradientFormat` | `IGradientFormat` | Read | Gets the gradient format. |
| `patternFormat` | `IPatternFormat` | Read | Gets the pattern format. |
| `pictureFillFormat` | `IPictureFillFormat` | Read | Gets the picture fill format. |
| `rotateWithShape` | `NullableBool` | Read | Gets the rotate with shape. |
| `slide` | `IBaseSlide` | Read | Gets the slide. |
| `presentation` | `IPresentation` | Read | Gets the presentation. |

## Methods

| Signature | Description |
|-----------|-------------|
| `FillFormat(parentElement: Element, saveCallback: Runnable)` | Creates a new FillFormat backed by the given parent XML element. |
| `FillFormat()` | Creates an uninitialized FillFormat. |
| `initInternal(parentElement: Element, saveCallback: Runnable, parentSlide: IBaseSlide)` | Internal initialization. |
| `getFillType()` → `FillType` | Returns the fill type. |
| `setFillType(value: FillType)` | Sets the fill type value. |
| `getSolidFillColor()` → `IColorFormat` | Returns the solid fill color. |
| `getGradientFormat()` → `IGradientFormat` | Returns the gradient format. |
| `getPatternFormat()` → `IPatternFormat` | Returns the pattern format. |
| `getPictureFillFormat()` → `IPictureFillFormat` | Returns the picture fill format. |
| `getRotateWithShape()` → `NullableBool` | Returns the rotate with shape. |
| `setRotateWithShape(value: NullableBool)` | Sets the rotate with shape value. |
| `PVIObject()` | Creates a PVIObject with no parent slide. |
| `getSlide()` → `IBaseSlide` | Returns the slide. |
| `getPresentation()` → `IPresentation` | Returns the presentation. |
| `asIPresentationComponent()` → `IPresentationComponent` | Returns this object as an {@link IPresentationComponent}. |

## See Also

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