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
| Name | Type | Access | Description |
|---|---|---|---|
direction | double | Read | |
distance | double | Read | Property gets or sets the shadow offset distance |
shadowColor | IColorFormat | Read | Property provides access to the shadow’s IColorFormat |
preset | PresetShadowType | Read | Property gets or sets the PresetShadowType of the shadow |
Mètodes
| 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 | |
setDirection(value: double) | |
getDistance() → double | Returns the shadow offset distance |
setDistance(value: double) | Sets the shadow offset distance |
getShadowColor() → IColorFormat | Returns the IColorFormat representing the shadow color |
getPreset() → PresetShadowType | Returns the PresetShadowType applied to this shadow |
setPreset(value: PresetShadowType) | Assigns a predefined shadow type to the object |
asIImageTransformOperation() → IImageTransformOperation | Returns this shadow as an IImageTransformOperation |