PresetShadow
Overview
PresetShadow is a class in Aspose.Slides FOSS for C++.
Represents a preset shadow effect applied to a shape.
This class declares 16 methods for 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.
Public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package.
Accessor methods: IImageTransformOperation, SimpleColorFormat.
Accessor Methods
| 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 shadow color format. |
SimpleColorFormat() → SimpleColorFormat | Returns the shadow color format (const). |
IImageTransformOperation() → IImageTransformOperation | Returns this object as IImageTransformOperation. |
PresetShadow() | Calls PresetShadow on this PresetShadow instance. |
~PresetShadow() | Calls ~PresetShadow on this PresetShadow instance. |
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 (const). |
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. |