Reflection
Overview
Reflection is a class in Aspose.Slides FOSS for C++.
Represents a reflection effect applied to a shape.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
IImageTransformOperation | IImageTransformOperation | Read | Provides access to the image transform operation associated with the reflection |
Methods
| Signature | Description |
|---|---|
IImageTransformOperation() → IImageTransformOperation | Provides access to the image transform operation associated with the reflection |
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. |
start_pos_alpha() → double | Returns the start position along the alpha gradient ramp (percents). |
set_start_pos_alpha(value: double) | Sets the start position along the alpha gradient ramp (percents). |
end_pos_alpha() → double | Returns the end position along the alpha gradient ramp (percents). |
set_end_pos_alpha(value: double) | Sets the end position along the alpha gradient ramp (percents). |
fade_direction() → double | Returns the fade direction angle in degrees. |
set_fade_direction(value: double) | Sets the fade direction angle in degrees. |
start_reflection_opacity() → double | Returns the starting reflection opacity (percents). |
set_start_reflection_opacity(value: double) | Sets the starting reflection opacity (percents). |
end_reflection_opacity() → double | Returns the ending reflection opacity (percents). |
set_end_reflection_opacity(value: double) | Sets the ending reflection opacity (percents). |
blur_radius() → double | Returns the blur radius in points. |
set_blur_radius(value: double) | Sets the blur radius in points. |
direction() → double | Returns the direction of reflection in degrees. |
set_direction(value: double) | Sets the direction of reflection in degrees. |
distance() → double | Returns the distance of reflection in points. |
set_distance(value: double) | Sets the distance of reflection in points. |
rectangle_align() → RectangleAlignment | Returns the rectangle alignment. |
set_rectangle_align(value: RectangleAlignment) | Sets the rectangle alignment. |
skew_horizontal() → double | Returns the horizontal skew angle in degrees. |
set_skew_horizontal(value: double) | Sets the horizontal skew angle in degrees. |
skew_vertical() → double | Returns the vertical skew angle in degrees. |
set_skew_vertical(value: double) | Sets the vertical skew angle in degrees. |
rotate_shadow_with_shape() → bool | Returns whether the reflection rotates with the shape. |
set_rotate_shadow_with_shape(value: bool) | Sets whether the reflection rotates with the shape. |
scale_horizontal() → double | Returns the horizontal scaling factor in percent. |
set_scale_horizontal(value: double) | Sets the horizontal scaling factor in percent. |
scale_vertical() → double | Returns the vertical scaling factor in percent. |
set_scale_vertical(value: double) | Sets the vertical scaling factor in percent. |