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

# InnerShadow

## Overview

`InnerShadow` is a class in Aspose.Slides FOSS for Java.
Inherits from: `IInnerShadow`, `ISlideComponent`.

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

This class declares 13 methods for InnerShadow objects in Java programs.
Available methods include: `InnerShadow`, `asIImageTransformOperation`, `asIPresentationComponent`, `getBlurRadius`, `getDirection`, `getDistance`, `getPresentation`, `getShadowColor`, `getSlide`, `setBlurRadius`, `setDirection`, `setDistance`.
Public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `blurRadius`, `direction`, `distance`, `presentation`, `shadowColor`, `slide`.

## 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. |
| `slide` | `IBaseSlide` | Read | Gets the slide. |
| `presentation` | `IPresentation` | Read | Gets the presentation. |

## Methods

| Signature | Description |
|-----------|-------------|
| `InnerShadow(element: Element, saveCallback: Runnable)` | Creates a new InnerShadow backed by the given XML element. |
| `InnerShadow(element: Element, saveCallback: Runnable, parentSlide: IBaseSlide)` | Creates a new InnerShadow backed by the given XML element with a parent slide reference. |
| `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. |
| `getSlide()` → `IBaseSlide` | Returns the slide. |
| `asIPresentationComponent()` → `IPresentationComponent` | Casts the inner shadow to an IPresentationComponent |
| `asIImageTransformOperation()` → `IImageTransformOperation` | Casts the inner shadow to an IImageTransformOperation |
| `getPresentation()` → `IPresentation` | Returns the presentation. |

## See Also

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