PresetShadow
Overview
PresetShadow is a class in Aspose.Slides FOSS for C++.
Represents a preset shadow effect applied to a shape.
This class provides 16 methods for working with PresetShadow objects in C++ programs.
Available methods include: IImageTransformOperation, PresetShadow, SimpleColorFormat, as_i_image_transform_operation, direction, distance, init_internal, preset, save, set_direction, set_distance, set_preset, and 2 additional methods.
All public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package.
Properties: IImageTransformOperation, SimpleColorFormat.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
SimpleColorFormat | SimpleColorFormat | Read | Gets the simple color format. |
IImageTransformOperation | IImageTransformOperation | Read | Gets the i image transform operation. |
Methods
| Signature | Description |
|---|---|
SimpleColorFormat() → SimpleColorFormat | Returns the SimpleColorFormat object associated with the shadow |
SimpleColorFormat() → SimpleColorFormat | |
IImageTransformOperation() → IImageTransformOperation | |
PresetShadow() | |
~PresetShadow() | |
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. |
shadow_color() → SimpleColorFormat | Returns the shadow color format. |
shadow_color() → SimpleColorFormat | Returns the shadow color format. |
preset() → PresetShadowType | Returns the preset shadow type. |
set_preset(value: PresetShadowType) | Sets the preset shadow type. |
as_i_image_transform_operation() → IImageTransformOperation | Returns this object as IImageTransformOperation. |