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

# ShapeBevel

## Overview

`ShapeBevel` is a class in Aspose.Slides FOSS for Java.
Inherits from: `PVIObject`, `IShapeBevel`.

Contains the properties of shape's main face relief (bevel).

This class provides 14 methods for working with ShapeBevel objects in Java programs.
Available methods include: `PVIObject`, `ShapeBevel`, `asIPresentationComponent`, `getBevelType`, `getHeight`, `getPresentation`, `getSlide`, `getWidth`, `initInternal`, `setBevelType`, `setHeight`, `setWidth`.
All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `bevelType`, `height`, `presentation`, `slide`, `width`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `width` | `double` | Read | Gets the width. |
| `height` | `double` | Read | Gets the height. |
| `bevelType` | `BevelPresetType` | Read | Gets the bevel type. |
| `slide` | `IBaseSlide` | Read | Gets the slide. |
| `presentation` | `IPresentation` | Read | Gets the presentation. |

## Methods

| Signature | Description |
|-----------|-------------|
| `ShapeBevel()` | Creates an unbound {@code ShapeBevel} for the top bevel. |
| `ShapeBevel(isTopBevel: boolean)` | Creates an unbound {@code ShapeBevel}. |
| `ShapeBevel(sp3d: Element, saveCallback: Runnable, isTopBevel: boolean)` | Creates a new ShapeBevel. |
| `initInternal(sp3d: Element, saveCallback: Runnable, parentSlide: IBaseSlide)` → `ShapeBevel` | Initializes this bevel with its backing element and context. |
| `getWidth()` → `double` | Returns the width. |
| `setWidth(value: double)` | Sets the width value. |
| `getHeight()` → `double` | Returns the height. |
| `setHeight(value: double)` | Sets the height value. |
| `getBevelType()` → `BevelPresetType` | Returns the bevel type. |
| `setBevelType(value: BevelPresetType)` | Sets the bevel type 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/)