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

# OuterShadow

## Overview

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

Represents an outer shadow effect backed by an OOXML {@code } element.

This class declares 31 methods for OuterShadow objects in Java programs.
Available methods include: `ImageTransformOperation`, `OuterShadow`, `PVIObject`, `asIImageTransformOperation`, `asIPresentationComponent`, `getBlurRadius`, `getDirection`, `getDistance`, `getPresentation`, `getRectangleAlign`, `getRotateShadowWithShape`, `getScaleHorizontal`, and 15 additional methods.
Public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `blurRadius`, `direction`, `distance`, `presentation`, `rectangleAlign`, `rotateShadowWithShape`, and 6 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `blurRadius` | `double` | Read/Write | Gets or sets the blur radius. |
| `direction` | `double` | Read/Write | Gets or sets the direction. |
| `distance` | `double` | Read/Write | Gets or sets the distance. |
| `shadowColor` | `IColorFormat` | Read | Gets the shadow color. |
| `rectangleAlign` | `RectangleAlignment` | Read/Write | Gets or sets the rectangle align. |
| `skewHorizontal` | `double` | Read/Write | Gets or sets the skew horizontal. |
| `skewVertical` | `double` | Read/Write | Gets or sets the skew vertical. |
| `rotateShadowWithShape` | `boolean` | Read/Write | Gets or sets the rotate shadow with shape. |
| `scaleHorizontal` | `double` | Read/Write | Gets or sets the scale horizontal. |
| `scaleVertical` | `double` | Read/Write | Gets or sets the scale vertical. |
| `slide` | `IBaseSlide` | Read | Gets the slide. |
| `presentation` | `IPresentation` | Read | Gets the presentation. |

## Methods

| Signature | Description |
|-----------|-------------|
| `OuterShadow()` | Creates an uninitialized OuterShadow. |
| `OuterShadow(element: Element, saveCallback: Runnable)` | Creates a new OuterShadow backed by the given XML element. |
| `OuterShadow(element: Element, saveCallback: Runnable, parentSlide: IBaseSlide)` | Creates a new OuterShadow backed by the given XML element with a parent slide reference. |
| `initInternal(element: Element, saveCallback: Runnable, parentSlide: IBaseSlide)` | Initializes this OuterShadow with the given backing element, save callback, and parent slide. |
| `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. |
| `getShadowColor()` → `IColorFormat` | Returns the shadow color. |
| `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. |
| `ImageTransformOperation(parentSlide: IBaseSlide)` | Creates an {@code ImageTransformOperation} associated with the given slide. |
| `asIImageTransformOperation()` → `IImageTransformOperation` | Calls asIImageTransformOperation on this OuterShadow instance. |
| `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/)