PresetShadow

General

PresetShadow is a class in Aspose.Slides FOSS for Java. Inherits from: IPresetShadow.

PresetShadow és una classe en Aspose.Slides FOSS per a Java. És heretat de: ゚IPresetShadow⌒ .

Representa un efecte d’ombra predeterminat recolzat per un element OOXML {@code <a:prstShdw>}.

Propietats

NameTypeAccessDescription
directiondoubleRead
distancedoubleReadProperty gets or sets the shadow offset distance
shadowColorIColorFormatReadProperty provides access to the shadow’s IColorFormat
presetPresetShadowTypeReadProperty gets or sets the PresetShadowType of the shadow

Mètodes

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()double
setDirection(value: double)
getDistance()doubleReturns the shadow offset distance
setDistance(value: double)Sets the shadow offset distance
getShadowColor()IColorFormatReturns the IColorFormat representing the shadow color
getPreset()PresetShadowTypeReturns the PresetShadowType applied to this shadow
setPreset(value: PresetShadowType)Assigns a predefined shadow type to the object
asIImageTransformOperation()IImageTransformOperationReturns this shadow as an IImageTransformOperation
 Català