Reflection

Overview

Reflection is a class in Aspose.Slides FOSS for C++.

Represents a reflection effect applied to a shape.

Properties

NameTypeAccessDescription
IImageTransformOperationIImageTransformOperationReadProvides access to the image transform operation associated with the reflection

Methods

SignatureDescription
IImageTransformOperation()IImageTransformOperationProvides 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()doubleReturns 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()doubleReturns 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()doubleReturns the fade direction angle in degrees.
set_fade_direction(value: double)Sets the fade direction angle in degrees.
start_reflection_opacity()doubleReturns the starting reflection opacity (percents).
set_start_reflection_opacity(value: double)Sets the starting reflection opacity (percents).
end_reflection_opacity()doubleReturns the ending reflection opacity (percents).
set_end_reflection_opacity(value: double)Sets the ending reflection opacity (percents).
blur_radius()doubleReturns the blur radius in points.
set_blur_radius(value: double)Sets the blur radius in points.
direction()doubleReturns the direction of reflection in degrees.
set_direction(value: double)Sets the direction of reflection in degrees.
distance()doubleReturns the distance of reflection in points.
set_distance(value: double)Sets the distance of reflection in points.
rectangle_align()RectangleAlignmentReturns the rectangle alignment.
set_rectangle_align(value: RectangleAlignment)Sets the rectangle alignment.
skew_horizontal()doubleReturns the horizontal skew angle in degrees.
set_skew_horizontal(value: double)Sets the horizontal skew angle in degrees.
skew_vertical()doubleReturns the vertical skew angle in degrees.
set_skew_vertical(value: double)Sets the vertical skew angle in degrees.
rotate_shadow_with_shape()boolReturns whether the reflection rotates with the shape.
set_rotate_shadow_with_shape(value: bool)Sets whether the reflection rotates with the shape.
scale_horizontal()doubleReturns the horizontal scaling factor in percent.
set_scale_horizontal(value: double)Sets the horizontal scaling factor in percent.
scale_vertical()doubleReturns the vertical scaling factor in percent.
set_scale_vertical(value: double)Sets the vertical scaling factor in percent.

See Also