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

# ThreeDFormat

## Overview

`ThreeDFormat` is a class in Aspose.Slides FOSS for Java.
Inherits from: `PVIObject`, `IThreeDFormat`, `IThreeDParamSource`.

Represents 3-D formatting properties for a shape.

This class provides 20 methods for working with ThreeDFormat objects in Java programs.
Available methods include: `PVIObject`, `ThreeDFormat`, `asIPresentationComponent`, `getBevelBottom`, `getBevelTop`, `getCamera`, `getContourColor`, `getContourWidth`, `getDepth`, `getExtrusionColor`, `getExtrusionHeight`, `getLightRig`, and 7 additional methods.
All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `bevelBottom`, `bevelTop`, `camera`, `contourColor`, `contourWidth`, `depth`, and 6 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `contourWidth` | `double` | Read | Gets the contour width. |
| `extrusionHeight` | `double` | Read | Gets the extrusion height. |
| `depth` | `double` | Read | Gets the depth. |
| `bevelTop` | `IShapeBevel` | Read | Gets the bevel top. |
| `bevelBottom` | `IShapeBevel` | Read | Gets the bevel bottom. |
| `contourColor` | `IColorFormat` | Read | Gets the contour color. |
| `extrusionColor` | `IColorFormat` | Read | Gets the extrusion color. |
| `camera` | `ICamera` | Read | Gets the camera. |
| `lightRig` | `ILightRig` | Read | Gets the light rig. |
| `material` | `MaterialPresetType` | Read | Gets the material. |
| `slide` | `IBaseSlide` | Read | Gets the slide. |
| `presentation` | `IPresentation` | Read | Gets the presentation. |

## Methods

| Signature | Description |
|-----------|-------------|
| `ThreeDFormat(parentElement: Element, saveCallback: Runnable)` | Creates a new ThreeDFormat. |
| `ThreeDFormat()` | Creates a ThreeDFormat with no initial state. |
| `getContourWidth()` → `double` | Returns the contour width. |
| `setContourWidth(value: double)` | Sets the contour width value. |
| `getExtrusionHeight()` → `double` | Returns the extrusion height. |
| `setExtrusionHeight(value: double)` | Sets the extrusion height value. |
| `getDepth()` → `double` | Returns the depth. |
| `setDepth(value: double)` | Sets the depth value. |
| `getBevelTop()` → `IShapeBevel` | Returns the bevel top. |
| `getBevelBottom()` → `IShapeBevel` | Returns the bevel bottom. |
| `getContourColor()` → `IColorFormat` | Returns the contour color. |
| `getExtrusionColor()` → `IColorFormat` | Returns the extrusion color. |
| `getCamera()` → `ICamera` | Returns the camera. |
| `getLightRig()` → `ILightRig` | Returns the light rig. |
| `getMaterial()` → `MaterialPresetType` | Returns the material. |
| `setMaterial(value: MaterialPresetType)` | Sets the material 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/)