PresetShadow
Overview
PresetShadow is a class in Aspose.Slides FOSS for C++.
Represents a preset shadow effect applied to a shape.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
SimpleColorFormat | SimpleColorFormat | Read | Returns the SimpleColorFormat object associated with the shadow |
IImageTransformOperation | IImageTransformOperation | Read |
Methods
| Signature | Description |
|---|---|
SimpleColorFormat() → SimpleColorFormat | Returns the SimpleColorFormat object associated with the shadow |
SimpleColorFormat() → SimpleColorFormat | |
IImageTransformOperation() → IImageTransformOperation | |
init_internal(element: pugi::xml_node, save_callback: std::function<void()>) | Initialize from an XML element (e.g., ) with a persistence callback. |
save() | Persist changes via the save callback provided at init time. |
direction() → double | Returns the shadow direction in degrees. |
set_direction(value: double) | Sets the shadow direction in degrees. |
distance() → double | Returns the shadow distance in points. |
set_distance(value: double) | Sets the shadow distance in points. |
preset() → PresetShadowType | Returns the preset shadow type. |
set_preset(value: PresetShadowType) | Sets the preset shadow type. |