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

# PictureFillFormat

## Overview

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

Represents a picture fill style.

This class declares 41 methods for PictureFillFormat objects in Java programs.
Available methods include: `PVIObject`, `PictureFillFormat`, `asIPresentationComponent`, `getCropBottom`, `getCropLeft`, `getCropRight`, `getCropTop`, `getDpi`, `getPicture`, `getPictureFillMode`, `getPresentation`, `getSlide`, and 27 additional methods.
Public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `cropBottom`, `cropLeft`, `cropRight`, `cropTop`, `dpi`, `picture`, and 13 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `dpi` | `int` | Read/Write | Gets or sets the dpi. |
| `pictureFillMode` | `PictureFillMode` | Read/Write | Gets or sets the picture fill mode. |
| `picture` | `ISlidesPicture` | Read | Gets the picture. |
| `cropLeft` | `float` | Read/Write | Gets or sets the crop left. |
| `cropTop` | `float` | Read/Write | Gets or sets the crop top. |
| `cropRight` | `float` | Read/Write | Gets or sets the crop right. |
| `cropBottom` | `float` | Read/Write | Gets or sets the crop bottom. |
| `stretchOffsetLeft` | `float` | Read/Write | Gets or sets the stretch offset left. |
| `stretchOffsetTop` | `float` | Read/Write | Gets or sets the stretch offset top. |
| `stretchOffsetRight` | `float` | Read/Write | Gets or sets the stretch offset right. |
| `stretchOffsetBottom` | `float` | Read/Write | Gets or sets the stretch offset bottom. |
| `tileOffsetX` | `float` | Read/Write | Gets or sets the tile offset x. |
| `tileOffsetY` | `float` | Read/Write | Gets or sets the tile offset y. |
| `tileScaleX` | `float` | Read/Write | Gets or sets the tile scale x. |
| `tileScaleY` | `float` | Read/Write | Gets or sets the tile scale y. |
| `tileAlignment` | `RectangleAlignment` | Read/Write | Gets or sets the tile alignment. |
| `tileFlip` | `TileFlip` | Read/Write | Gets or sets the tile flip. |
| `slide` | `IBaseSlide` | Read | Gets the slide. |
| `presentation` | `IPresentation` | Read | Gets the presentation. |

## Methods

| Signature | Description |
|-----------|-------------|
| `PictureFillFormat()` | Creates an uninitialized PictureFillFormat. |
| `PictureFillFormat(blipFill: Element, saveCallback: Runnable)` | Creates a new PictureFillFormat backed by the given {@code } element. |
| `initInternal(blipFillElement: Element, parentSlide: IBaseSlide, saveCallback: Runnable)` | Internal initialisation with the {@code } XML element. |
| `getDpi()` → `int` | Returns the dpi. |
| `setDpi(value: int)` | Sets the dpi value. |
| `getPictureFillMode()` → `PictureFillMode` | Returns the picture fill mode. |
| `setPictureFillMode(value: PictureFillMode)` | Sets the picture fill mode value. |
| `getPicture()` → `ISlidesPicture` | Returns the picture. |
| `getCropLeft()` → `float` | Returns the crop left. |
| `setCropLeft(value: float)` | Sets the crop left value. |
| `getCropTop()` → `float` | Returns the crop top. |
| `setCropTop(value: float)` | Sets the crop top value. |
| `getCropRight()` → `float` | Returns the crop right. |
| `setCropRight(value: float)` | Sets the crop right value. |
| `getCropBottom()` → `float` | Returns the crop bottom. |
| `setCropBottom(value: float)` | Sets the crop bottom value. |
| `getStretchOffsetLeft()` → `float` | Returns the stretch offset left. |
| `setStretchOffsetLeft(value: float)` | Sets the stretch offset left value. |
| `getStretchOffsetTop()` → `float` | Returns the stretch offset top. |
| `setStretchOffsetTop(value: float)` | Sets the stretch offset top value. |
| `getStretchOffsetRight()` → `float` | Returns the stretch offset right. |
| `setStretchOffsetRight(value: float)` | Sets the stretch offset right value. |
| `getStretchOffsetBottom()` → `float` | Returns the stretch offset bottom. |
| `setStretchOffsetBottom(value: float)` | Sets the stretch offset bottom value. |
| `getTileOffsetX()` → `float` | Returns the tile offset x. |
| `setTileOffsetX(value: float)` | Sets the tile offset x value. |
| `getTileOffsetY()` → `float` | Returns the tile offset y. |
| `setTileOffsetY(value: float)` | Sets the tile offset y value. |
| `getTileScaleX()` → `float` | Returns the tile scale x. |
| `setTileScaleX(value: float)` | Sets the tile scale x value. |
| `getTileScaleY()` → `float` | Returns the tile scale y. |
| `setTileScaleY(value: float)` | Sets the tile scale y value. |
| `getTileAlignment()` → `RectangleAlignment` | Returns the tile alignment. |
| `setTileAlignment(value: RectangleAlignment)` | Sets the tile alignment value. |
| `getTileFlip()` → `TileFlip` | Returns the tile flip. |
| `setTileFlip(value: TileFlip)` | Sets the tile flip value. |
| `PVIObject()` | Creates a PVIObject with no parent slide. |
| `PVIObject(parentSlide: IBaseSlide)` | Creates a PVIObject associated with the given 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/)