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

# Reflection

## Overview

`Reflection` is a class in Aspose.Slides FOSS for Java.
Inherits from: `ImageTransformOperation`, `IReflection`.

Represents a reflection effect backed by an OOXML {@code } element.

This class provides 38 methods for working with Reflection objects in Java programs.
Available methods include: `ImageTransformOperation`, `PVIObject`, `Reflection`, `asIImageTransformOperation`, `asIPresentationComponent`, `getBlurRadius`, `getDirection`, `getDistance`, `getEndPosAlpha`, `getEndReflectionOpacity`, `getFadeDirection`, `getPresentation`, and 24 additional methods.
All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `blurRadius`, `direction`, `distance`, `endPosAlpha`, `endReflectionOpacity`, `fadeDirection`, and 10 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `startPosAlpha` | `double` | Read | Gets the start pos alpha. |
| `endPosAlpha` | `double` | Read | Gets the end pos alpha. |
| `fadeDirection` | `double` | Read | Gets the fade direction. |
| `startReflectionOpacity` | `double` | Read | Gets the start reflection opacity. |
| `endReflectionOpacity` | `double` | Read | Gets the end reflection opacity. |
| `blurRadius` | `double` | Read | Gets the blur radius. |
| `direction` | `double` | Read | Gets the direction. |
| `distance` | `double` | Read | Gets the distance. |
| `rectangleAlign` | `RectangleAlignment` | Read | Gets the rectangle align. |
| `skewHorizontal` | `double` | Read | Gets the skew horizontal. |
| `skewVertical` | `double` | Read | Gets the skew vertical. |
| `rotateShadowWithShape` | `boolean` | Read | Gets the rotate shadow with shape. |
| `scaleHorizontal` | `double` | Read | Gets the scale horizontal. |
| `scaleVertical` | `double` | Read | Gets the scale vertical. |
| `slide` | `IBaseSlide` | Read | Gets the slide. |
| `presentation` | `IPresentation` | Read | Gets the presentation. |

## Methods

| Signature | Description |
|-----------|-------------|
| `Reflection()` | Creates an uninitialized Reflection. |
| `Reflection(element: Element, saveCallback: Runnable)` | Creates a new Reflection backed by the given XML element. |
| `Reflection(element: Element, saveCallback: Runnable, parentSlide: IBaseSlide)` | Creates a new Reflection backed by the given XML element with a parent slide reference. |
| `initInternal(element: Element, saveCallback: Runnable, parentSlide: IBaseSlide)` | Initializes this Reflection with the given backing element, save callback, and parent slide. |
| `getStartPosAlpha()` → `double` | Returns the start pos alpha. |
| `setStartPosAlpha(value: double)` | Sets the start pos alpha value. |
| `getEndPosAlpha()` → `double` | Returns the end pos alpha. |
| `setEndPosAlpha(value: double)` | Sets the end pos alpha value. |
| `getFadeDirection()` → `double` | Returns the fade direction. |
| `setFadeDirection(value: double)` | Sets the fade direction value. |
| `getStartReflectionOpacity()` → `double` | Returns the start reflection opacity. |
| `setStartReflectionOpacity(value: double)` | Sets the start reflection opacity value. |
| `getEndReflectionOpacity()` → `double` | Returns the end reflection opacity. |
| `setEndReflectionOpacity(value: double)` | Sets the end reflection opacity value. |
| `getBlurRadius()` → `double` | Returns the blur radius. |
| `setBlurRadius(value: double)` | Sets the blur radius value. |
| `getDirection()` → `double` | Returns the direction. |
| `setDirection(value: double)` | Sets the direction value. |
| `getDistance()` → `double` | Returns the distance. |
| `setDistance(value: double)` | Sets the distance value. |
| `getRectangleAlign()` → `RectangleAlignment` | Returns the rectangle align. |
| `setRectangleAlign(value: RectangleAlignment)` | Sets the rectangle align value. |
| `getSkewHorizontal()` → `double` | Returns the skew horizontal. |
| `setSkewHorizontal(value: double)` | Sets the skew horizontal value. |
| `getSkewVertical()` → `double` | Returns the skew vertical. |
| `setSkewVertical(value: double)` | Sets the skew vertical value. |
| `getRotateShadowWithShape()` → `boolean` | Returns the rotate shadow with shape. |
| `setRotateShadowWithShape(value: boolean)` | Sets the rotate shadow with shape value. |
| `getScaleHorizontal()` → `double` | Returns the scale horizontal. |
| `setScaleHorizontal(value: double)` | Sets the scale horizontal value. |
| `getScaleVertical()` → `double` | Returns the scale vertical. |
| `setScaleVertical(value: double)` | Sets the scale vertical value. |
| `ImageTransformOperation()` | Creates an {@code ImageTransformOperation} with no parent slide. |
| `asIImageTransformOperation()` → `IImageTransformOperation` |  |
| `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/)