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

# PresetShadow

## Overview

`PresetShadow` is a class in Aspose.Slides FOSS for Python.
Inherits from: `IPresetShadow`, `IImageTransformOperation`.

Represents a Preset Shadow effect.

Properties: `as_i_image_transform_operation`, `direction`, `distance`, `preset`, `shadow_color`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `direction` | `float` | Read/Write | Direction of shadow. |
| `distance` | `float` | Read/Write | Distance of shadow. |
| `shadow_color` | `IColorFormat` | Read | Color of shadow. |
| `preset` | `PresetShadowType` | Read/Write | Preset. |
| `as_i_image_transform_operation` | `IImageTransformOperation` | Read | Gets the as i image transform operation. |

## See Also

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