Aspose::Slides::Effects::Reflection Class Reference

Represents a Reflection effect. More...

#include <Reflection.h>

Inherits Aspose::Slides::Effects::IReflection, Aspose::Slides::Effects::IVisualEffect, and Aspose::Slides::IPVIObject.

Public Member Functions

float get_StartPosAlpha () override
 Specifies the start position (along the alpha gradient ramp) of the start alpha value (percents). Read float. More...
 
void set_StartPosAlpha (float value) override
 Specifies the start position (along the alpha gradient ramp) of the start alpha value (percents). Write float. More...
 
float get_EndPosAlpha () override
 Specifies the end position (along the alpha gradient ramp) of the end alpha value (percents). Read float. More...
 
void set_EndPosAlpha (float value) override
 Specifies the end position (along the alpha gradient ramp) of the end alpha value (percents). Write float. More...
 
float get_FadeDirection () override
 Specifies the direction to offset the reflection. (angle). Read float. More...
 
void set_FadeDirection (float value) override
 Specifies the direction to offset the reflection. (angle). Write float. More...
 
float get_StartReflectionOpacity () override
 Starting reflection opacity. (percents). Read float. More...
 
void set_StartReflectionOpacity (float value) override
 Starting reflection opacity. (percents). Write float. More...
 
float get_EndReflectionOpacity () override
 End reflection opacity. (percents). Read float. More...
 
void set_EndReflectionOpacity (float value) override
 End reflection opacity. (percents). Write float. More...
 
double get_BlurRadius () override
 Blur radius. Read double. More...
 
void set_BlurRadius (double value) override
 Blur radius. Write double. More...
 
float get_Direction () override
 Direction of reflection. Read float. More...
 
void set_Direction (float value) override
 Direction of reflection. Write float. More...
 
double get_Distance () override
 Distance of reflection. Read double. More...
 
void set_Distance (double value) override
 Distance of reflection. Write double. More...
 
RectangleAlignment get_RectangleAlign () override
 Rectangle alignment. Read RectangleAlignment. More...
 
void set_RectangleAlign (RectangleAlignment value) override
 Rectangle alignment. Write RectangleAlignment. More...
 
double get_SkewHorizontal () override
 Specifies the horizontal skew angle. Read double. More...
 
void set_SkewHorizontal (double value) override
 Specifies the horizontal skew angle. Write double. More...
 
double get_SkewVertical () override
 Specifies the vertical skew angle. Read double. More...
 
void set_SkewVertical (double value) override
 Specifies the vertical skew angle. Write double. More...
 
bool get_RotateShadowWithShape () override
 Specifies whether the reflection should rotate with the shape if the shape is rotated. Read bool. More...
 
void set_RotateShadowWithShape (bool value) override
 Specifies whether the reflection should rotate with the shape if the shape is rotated. Write bool. More...
 
double get_ScaleHorizontal () override
 Specifies the horizontal scaling factor, negative scaling causes a flip. (percents) Read double. More...
 
void set_ScaleHorizontal (double value) override
 Specifies the horizontal scaling factor, negative scaling causes a flip. (percents) Write double. More...
 
double get_ScaleVertical () override
 Specifies the vertical scaling factor, negative scaling causes a flip. (percents) Read double. More...
 
void set_ScaleVertical (double value) override
 Specifies the vertical scaling factor, negative scaling causes a flip. (percents) Write double. More...
 
System::SharedPtr< IReflectionEffectiveDataGetEffective () override
 Gets effective Reflection effect data with the inheritance applied. More...
 
bool Equals (System::SharedPtr< System::Object > obj) override
 Determines whether the specified Reflection is equal to the current Reflection. More...
 
int32_t GetHashCode () const override
 Serves as a hash function for a particular type. More...
 
virtual float get_StartPosAlpha ()=0
 Specifies the start position (along the alpha gradient ramp) of the start alpha value (percents). Read float. More...
 
virtual void set_StartPosAlpha (float value)=0
 Specifies the start position (along the alpha gradient ramp) of the start alpha value (percents). Write float. More...
 
virtual float get_EndPosAlpha ()=0
 Specifies the end position (along the alpha gradient ramp) of the end alpha value (percents). Read float. More...
 
virtual void set_EndPosAlpha (float value)=0
 Specifies the end position (along the alpha gradient ramp) of the end alpha value (percents). Write float. More...
 
virtual float get_FadeDirection ()=0
 Specifies the direction to offset the reflection. (angle). Read float. More...
 
virtual void set_FadeDirection (float value)=0
 Specifies the direction to offset the reflection. (angle). Write float. More...
 
virtual float get_StartReflectionOpacity ()=0
 Starting reflection opacity. (percents). Read float. More...
 
virtual void set_StartReflectionOpacity (float value)=0
 Starting reflection opacity. (percents). Write float. More...
 
virtual float get_EndReflectionOpacity ()=0
 End reflection opacity. (percents). Read float. More...
 
virtual void set_EndReflectionOpacity (float value)=0
 End reflection opacity. (percents). Write float. More...
 
virtual double get_BlurRadius ()=0
 Blur radius. Read double. More...
 
virtual void set_BlurRadius (double value)=0
 Blur radius. Write double. More...
 
virtual float get_Direction ()=0
 Direction of reflection. Read float. More...
 
virtual void set_Direction (float value)=0
 Direction of reflection. Write float. More...
 
virtual double get_Distance ()=0
 Distance of reflection. Read double. More...
 
virtual void set_Distance (double value)=0
 Distance of reflection. Write double. More...
 
virtual RectangleAlignment get_RectangleAlign ()=0
 Rectangle alignment. Read RectangleAlignment. More...
 
virtual void set_RectangleAlign (RectangleAlignment value)=0
 Rectangle alignment. Write RectangleAlignment. More...
 
virtual double get_SkewHorizontal ()=0
 Specifies the horizontal skew angle. Read double. More...
 
virtual void set_SkewHorizontal (double value)=0
 Specifies the horizontal skew angle. Write double. More...
 
virtual double get_SkewVertical ()=0
 Specifies the vertical skew angle. Read double. More...
 
virtual void set_SkewVertical (double value)=0
 Specifies the vertical skew angle. Write double. More...
 
virtual bool get_RotateShadowWithShape ()=0
 Specifies whether the reflection should rotate with the shape if the shape is rotated. Read bool. More...
 
virtual void set_RotateShadowWithShape (bool value)=0
 Specifies whether the reflection should rotate with the shape if the shape is rotated. Write bool. More...
 
virtual double get_ScaleHorizontal ()=0
 Specifies the horizontal scaling factor, negative scaling causes a flip. (percents) Read double. More...
 
virtual void set_ScaleHorizontal (double value)=0
 Specifies the horizontal scaling factor, negative scaling causes a flip. (percents) Write double. More...
 
virtual double get_ScaleVertical ()=0
 Specifies the vertical scaling factor, negative scaling causes a flip. (percents) Read double. More...
 
virtual void set_ScaleVertical (double value)=0
 Specifies the vertical scaling factor, negative scaling causes a flip. (percents) Write double. More...
 
- Public Member Functions inherited from System::Object
 Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ~Object ()
 Destroys object. Frees all internal data structures. More...
 
 Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared reference counter. More...
 
void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual int32_t GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual String ToString () const
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual void SetTemplateWeakPtr (uint32_t argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
virtual bool FastCast (const Details::FastRttiBase &helper, void **out_ptr) const
 For internal purposes only. More...
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 Specialization of Object::ReferenceEquals for case of string and nullptr. More...
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 Specialization of Object::ReferenceEquals for case of strings. More...
 
virtual System::SharedPtr< Aspose::Slides::Effects::IReflectionEffectiveDataGetEffective ()=0
 Gets effective data with the inheritance applied. More...
 
virtual System::SharedPtr< IEffectEffectiveDataGetEffective_ ()=0
 
- Public Member Functions inherited from Aspose::Slides::IPVIObject
virtual System::SharedPtr< IPresentationComponentget_Parent_IPresentationComponent ()=0
 Returns parent IPresentationComponent. Read-only IPresentationComponent. More...
 
virtual uint32_t get_Version ()=0
 Version. Read-only uint32_t. More...
 
virtual System::SharedPtr< IDOMObjectget_Parent_Immediate ()=0
 Returns Parent_Immediate object. Read-only IDOMObject. More...
 

Protected Member Functions

virtual ~Reflection ()
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Implements C# typeof(System.Object) construct. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 
template<>
bool Equals (double const &objA, double const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 

Detailed Description

Represents a Reflection effect.

Constructor & Destructor Documentation

◆ ~Reflection()

virtual Aspose::Slides::Effects::Reflection::~Reflection ( )
protectedvirtual

Member Function Documentation

◆ Equals()

bool Aspose::Slides::Effects::Reflection::Equals ( System::SharedPtr< System::Object obj)
override

Determines whether the specified Reflection is equal to the current Reflection.

Parameters
objThe Reflection to compare.
Returns
true if objects are equal; otherwise, false.

◆ get_BlurRadius()

double Aspose::Slides::Effects::Reflection::get_BlurRadius ( )
overridevirtual

◆ get_Direction()

float Aspose::Slides::Effects::Reflection::get_Direction ( )
overridevirtual

Direction of reflection. Read float.

Implements Aspose::Slides::Effects::IReflection.

◆ get_Distance()

double Aspose::Slides::Effects::Reflection::get_Distance ( )
overridevirtual

Distance of reflection. Read double.

Implements Aspose::Slides::Effects::IReflection.

◆ get_EndPosAlpha()

float Aspose::Slides::Effects::Reflection::get_EndPosAlpha ( )
overridevirtual

Specifies the end position (along the alpha gradient ramp) of the end alpha value (percents). Read float.

Implements Aspose::Slides::Effects::IReflection.

◆ get_EndReflectionOpacity()

float Aspose::Slides::Effects::Reflection::get_EndReflectionOpacity ( )
overridevirtual

End reflection opacity. (percents). Read float.

Implements Aspose::Slides::Effects::IReflection.

◆ get_FadeDirection()

float Aspose::Slides::Effects::Reflection::get_FadeDirection ( )
overridevirtual

Specifies the direction to offset the reflection. (angle). Read float.

Implements Aspose::Slides::Effects::IReflection.

◆ get_RectangleAlign()

RectangleAlignment Aspose::Slides::Effects::Reflection::get_RectangleAlign ( )
overridevirtual

Rectangle alignment. Read RectangleAlignment.

Implements Aspose::Slides::Effects::IReflection.

◆ get_RotateShadowWithShape()

bool Aspose::Slides::Effects::Reflection::get_RotateShadowWithShape ( )
overridevirtual

Specifies whether the reflection should rotate with the shape if the shape is rotated. Read bool.

Implements Aspose::Slides::Effects::IReflection.

◆ get_ScaleHorizontal()

double Aspose::Slides::Effects::Reflection::get_ScaleHorizontal ( )
overridevirtual

Specifies the horizontal scaling factor, negative scaling causes a flip. (percents) Read double.

Implements Aspose::Slides::Effects::IReflection.

◆ get_ScaleVertical()

double Aspose::Slides::Effects::Reflection::get_ScaleVertical ( )
overridevirtual

Specifies the vertical scaling factor, negative scaling causes a flip. (percents) Read double.

Implements Aspose::Slides::Effects::IReflection.

◆ get_SkewHorizontal()

double Aspose::Slides::Effects::Reflection::get_SkewHorizontal ( )
overridevirtual

Specifies the horizontal skew angle. Read double.

Implements Aspose::Slides::Effects::IReflection.

◆ get_SkewVertical()

double Aspose::Slides::Effects::Reflection::get_SkewVertical ( )
overridevirtual

Specifies the vertical skew angle. Read double.

Implements Aspose::Slides::Effects::IReflection.

◆ get_StartPosAlpha()

float Aspose::Slides::Effects::Reflection::get_StartPosAlpha ( )
overridevirtual

Specifies the start position (along the alpha gradient ramp) of the start alpha value (percents). Read float.

Implements Aspose::Slides::Effects::IReflection.

◆ get_StartReflectionOpacity()

float Aspose::Slides::Effects::Reflection::get_StartReflectionOpacity ( )
overridevirtual

Starting reflection opacity. (percents). Read float.

Implements Aspose::Slides::Effects::IReflection.

◆ GetEffective()

System::SharedPtr< IReflectionEffectiveData > Aspose::Slides::Effects::Reflection::GetEffective ( )
overridevirtual

◆ GetHashCode()

int32_t Aspose::Slides::Effects::Reflection::GetHashCode ( ) const
overridevirtual

Serves as a hash function for a particular type.

Returns
A hash code for the current object.

Reimplemented from System::Object.

◆ set_BlurRadius()

void Aspose::Slides::Effects::Reflection::set_BlurRadius ( double  value)
overridevirtual

Blur radius. Write double.

Implements Aspose::Slides::Effects::IReflection.

◆ set_Direction()

void Aspose::Slides::Effects::Reflection::set_Direction ( float  value)
overridevirtual

Direction of reflection. Write float.

Implements Aspose::Slides::Effects::IReflection.

◆ set_Distance()

void Aspose::Slides::Effects::Reflection::set_Distance ( double  value)
overridevirtual

Distance of reflection. Write double.

Implements Aspose::Slides::Effects::IReflection.

◆ set_EndPosAlpha()

void Aspose::Slides::Effects::Reflection::set_EndPosAlpha ( float  value)
overridevirtual

Specifies the end position (along the alpha gradient ramp) of the end alpha value (percents). Write float.

Implements Aspose::Slides::Effects::IReflection.

◆ set_EndReflectionOpacity()

void Aspose::Slides::Effects::Reflection::set_EndReflectionOpacity ( float  value)
overridevirtual

End reflection opacity. (percents). Write float.

Implements Aspose::Slides::Effects::IReflection.

◆ set_FadeDirection()

void Aspose::Slides::Effects::Reflection::set_FadeDirection ( float  value)
overridevirtual

Specifies the direction to offset the reflection. (angle). Write float.

Implements Aspose::Slides::Effects::IReflection.

◆ set_RectangleAlign()

void Aspose::Slides::Effects::Reflection::set_RectangleAlign ( RectangleAlignment  value)
overridevirtual

Rectangle alignment. Write RectangleAlignment.

Implements Aspose::Slides::Effects::IReflection.

◆ set_RotateShadowWithShape()

void Aspose::Slides::Effects::Reflection::set_RotateShadowWithShape ( bool  value)
overridevirtual

Specifies whether the reflection should rotate with the shape if the shape is rotated. Write bool.

Implements Aspose::Slides::Effects::IReflection.

◆ set_ScaleHorizontal()

void Aspose::Slides::Effects::Reflection::set_ScaleHorizontal ( double  value)
overridevirtual

Specifies the horizontal scaling factor, negative scaling causes a flip. (percents) Write double.

Implements Aspose::Slides::Effects::IReflection.

◆ set_ScaleVertical()

void Aspose::Slides::Effects::Reflection::set_ScaleVertical ( double  value)
overridevirtual

Specifies the vertical scaling factor, negative scaling causes a flip. (percents) Write double.

Implements Aspose::Slides::Effects::IReflection.

◆ set_SkewHorizontal()

void Aspose::Slides::Effects::Reflection::set_SkewHorizontal ( double  value)
overridevirtual

Specifies the horizontal skew angle. Write double.

Implements Aspose::Slides::Effects::IReflection.

◆ set_SkewVertical()

void Aspose::Slides::Effects::Reflection::set_SkewVertical ( double  value)
overridevirtual

Specifies the vertical skew angle. Write double.

Implements Aspose::Slides::Effects::IReflection.

◆ set_StartPosAlpha()

void Aspose::Slides::Effects::Reflection::set_StartPosAlpha ( float  value)
overridevirtual

Specifies the start position (along the alpha gradient ramp) of the start alpha value (percents). Write float.

Implements Aspose::Slides::Effects::IReflection.

◆ set_StartReflectionOpacity()

void Aspose::Slides::Effects::Reflection::set_StartReflectionOpacity ( float  value)
overridevirtual

Starting reflection opacity. (percents). Write float.

Implements Aspose::Slides::Effects::IReflection.