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

NameTypeAccessDescription
directiondoubleReadGets the direction.
distancedoubleReadGets the distance.
shadowColorIColorFormatReadGets the shadow color.
presetPresetShadowTypeReadGets the preset.

Methods

SignatureDescription
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()doubleReturns the direction.
setDirection(value: double)Sets the direction value.
getDistance()doubleReturns the distance.
setDistance(value: double)Sets the distance value.
getShadowColor()IColorFormatReturns the shadow color.
getPreset()PresetShadowTypeReturns the preset.
setPreset(value: PresetShadowType)Sets the preset value.
asIImageTransformOperation()IImageTransformOperationReturns an IImageTransformOperation view of the shadow

See Also