PresetShadow
Overview
PresetShadow is a class in Aspose.Slides FOSS for Java.
Inherits from: IPresetShadow.
Represents a preset shadow effect backed by an OOXML {@code <a:prstShdw>} element.
This class provides 11 methods for working with PresetShadow objects in Java programs.
Available methods include: PresetShadow, asIImageTransformOperation, getDirection, getDistance, getPreset, getShadowColor, initInternal, setDirection, setDistance, setPreset.
All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: direction, distance, preset, shadowColor.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
direction | double | Read | Gets the direction. |
distance | double | Read | Gets the distance. |
shadowColor | IColorFormat | Read | Gets the shadow color. |
preset | PresetShadowType | Read | Gets the preset. |
Methods
| Signature | Description |
|---|---|
PresetShadow() | Creates an uninitialized PresetShadow. |
PresetShadow(element: Element, saveCallback: Runnable) | Creates a new PresetShadow backed by the given XML element. |
initInternal(element: Element, saveCallback: Runnable, parentSlide: IBaseSlide) | Initializes this PresetShadow with the given backing element, save callback, and parent slide. |
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. |
getPreset() → PresetShadowType | Returns the preset. |
setPreset(value: PresetShadowType) | Sets the preset value. |
asIImageTransformOperation() → IImageTransformOperation | Returns an IImageTransformOperation view of the shadow |