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

# IReflection

## Overview

`IReflection` is an interface in Aspose.Slides FOSS for Java.
Inherits from: `IImageTransformOperation`.

Represents a reflection effect applied to a shape.

This interface declares 29 methods for IReflection objects in Java programs.
Available methods include: `asIImageTransformOperation`, `getBlurRadius`, `getDirection`, `getDistance`, `getEndPosAlpha`, `getEndReflectionOpacity`, `getFadeDirection`, `getRectangleAlign`, `getRotateShadowWithShape`, `getScaleHorizontal`, `getScaleVertical`, `getSkewHorizontal`, and 17 additional methods.
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 8 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `startPosAlpha` | `double` | Read/Write | Returns the start position (along the alpha gradient ramp) of the start alpha value (percents). |
| `endPosAlpha` | `double` | Read/Write | Returns the end position (along the alpha gradient ramp) of the end alpha value (percents). |
| `fadeDirection` | `double` | Read/Write | Returns the direction to offset the reflection (angle). |
| `startReflectionOpacity` | `double` | Read/Write | Returns the starting reflection opacity (percents). |
| `endReflectionOpacity` | `double` | Read/Write | Returns the end reflection opacity (percents). |
| `blurRadius` | `double` | Read/Write | Returns the blur radius in points. |
| `direction` | `double` | Read/Write | Returns the direction of reflection in degrees. |
| `distance` | `double` | Read/Write | Returns the distance of reflection in points. |
| `rectangleAlign` | `RectangleAlignment` | Read/Write | Returns the rectangle alignment. |
| `skewHorizontal` | `double` | Read/Write | Returns the horizontal skew angle in degrees. |
| `skewVertical` | `double` | Read/Write | Returns the vertical skew angle in degrees. |
| `rotateShadowWithShape` | `boolean` | Read/Write | Indicates whether the reflection should rotate with the shape if the shape is rotated. |
| `scaleHorizontal` | `double` | Read/Write | Returns the horizontal scaling factor as a percentage. |
| `scaleVertical` | `double` | Read/Write | Returns the vertical scaling factor as a percentage. |

## Methods

| Signature | Description |
|-----------|-------------|
| `getStartPosAlpha()` → `double` | Returns the start position (along the alpha gradient ramp) of the start alpha value (percents). |
| `setStartPosAlpha(value: double)` | Sets the start position (along the alpha gradient ramp) of the start alpha value (percents). |
| `getEndPosAlpha()` → `double` | Returns the end position (along the alpha gradient ramp) of the end alpha value (percents). |
| `setEndPosAlpha(value: double)` | Sets the end position (along the alpha gradient ramp) of the end alpha value (percents). |
| `getFadeDirection()` → `double` | Returns the direction to offset the reflection (angle). |
| `setFadeDirection(value: double)` | Sets the direction to offset the reflection (angle). |
| `getStartReflectionOpacity()` → `double` | Returns the starting reflection opacity (percents). |
| `setStartReflectionOpacity(value: double)` | Sets the starting reflection opacity (percents). |
| `getEndReflectionOpacity()` → `double` | Returns the end reflection opacity (percents). |
| `setEndReflectionOpacity(value: double)` | Sets the end reflection opacity (percents). |
| `getBlurRadius()` → `double` | Returns the blur radius in points. |
| `setBlurRadius(value: double)` | Sets the blur radius in points. |
| `getDirection()` → `double` | Returns the direction of reflection in degrees. |
| `setDirection(value: double)` | Sets the direction of reflection in degrees. |
| `getDistance()` → `double` | Returns the distance of reflection in points. |
| `setDistance(value: double)` | Sets the distance of reflection in points. |
| `getRectangleAlign()` → `RectangleAlignment` | Returns the rectangle alignment. |
| `setRectangleAlign(value: RectangleAlignment)` | Sets the rectangle alignment. |
| `getSkewHorizontal()` → `double` | Returns the horizontal skew angle in degrees. |
| `setSkewHorizontal(value: double)` | Sets the horizontal skew angle in degrees. |
| `getSkewVertical()` → `double` | Returns the vertical skew angle in degrees. |
| `setSkewVertical(value: double)` | Sets the vertical skew angle in degrees. |
| `getRotateShadowWithShape()` → `boolean` | Indicates whether the reflection should rotate with the shape if the shape is rotated. |
| `setRotateShadowWithShape(value: boolean)` | Sets whether the reflection should rotate with the shape if the shape is rotated. |
| `getScaleHorizontal()` → `double` | Returns the horizontal scaling factor as a percentage. |
| `setScaleHorizontal(value: double)` | Sets the horizontal scaling factor as a percentage. |
| `getScaleVertical()` → `double` | Returns the vertical scaling factor as a percentage. |
| `setScaleVertical(value: double)` | Sets the vertical scaling factor as a percentage. |
| `asIImageTransformOperation()` → `IImageTransformOperation` | Returns this instance as {@link IImageTransformOperation}. |

## See Also

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