Aspose::Slides::Effects::ReflectionEffectiveData Class Reference

Immutable object which represents a reflection effect. More...

Inherits Aspose::Slides::Effects::EffectEffectiveData, and Aspose::Slides::Effects::IReflectionEffectiveData.

Public Member Functions

float get_StartPosAlpha ()
 Specifies the start position (along the alpha gradient ramp) of the start alpha value (percents). Read-only float. More...
 
float get_EndPosAlpha ()
 Specifies the end position (along the alpha gradient ramp) of the end alpha value (percents). Read-only float. More...
 
float get_FadeDirection ()
 Specifies the direction to offset the reflection. (angle). Read-only float. More...
 
float get_StartReflectionOpacity ()
 Starting reflection opacity. (percents). Read-only float. More...
 
float get_EndReflectionOpacity ()
 End reflection opacity. (percents). Read-only float. More...
 
double get_BlurRadius ()
 Blur radius. Read-only double. More...
 
float get_Direction ()
 Direction of reflection. Read-only float. More...
 
double get_Distance ()
 Distance of reflection. Read-only double. More...
 
RectangleAlignment get_RectangleAlign ()
 Rectangle alignment. Read-only RectangleAlignment. More...
 
double get_SkewHorizontal ()
 Specifies the horizontal skew angle. Read-only double. More...
 
double get_SkewVertical ()
 Specifies the vertical skew angle. Read-only double. More...
 
bool get_RotateShadowWithShape ()
 Specifies whether the reflection should rotate with the shape if the shape is rotated. Read-only bool. More...
 
double get_ScaleHorizontal ()
 Specifies the horizontal scaling factor, negative scaling causes a flip. (percents) Read-only double. More...
 
double get_ScaleVertical ()
 Specifies the vertical scaling factor, negative scaling causes a flip. (percents) Read-only double. More...
 
virtual bool Equals (System::SharedPtr< System::Object > obj)
 Determines whether the specified ReflectionEffectiveData is equal to the current ReflectionEffectiveData. More...
 
virtual int32_t GetHashCode () const
 Serves as a hash function for a particular type. 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 refernce 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 String ToString () ASPOSE_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 (unsigned int argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 
template<>
bool Equals (double const &objA, double const &objB)
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 

Protected Member Functions

 ReflectionEffectiveData (RectangleAlignment algn, double blurRad, float dir, double dist, float stPos, float endPos, float fadeDir, float stA, float endA, double kx, double ky, bool rotWithShape, double sx, double sy)
 
virtual System::SharedPtr< TrueColorBitmap > Apply (System::SharedPtr< TrueColorBitmap > img)
 
virtual System::SharedPtr< IVisualEffectGetMutable (System::SharedPtr< IDOMObject > parentImmediate)
 
virtual ~ReflectionEffectiveData ()
 
- Protected Member Functions inherited from Aspose::Slides::Effects::EffectEffectiveData
virtual System::String GetStringData ()
 
virtual void ResolveStyledColors (System::SharedPtr< IBaseSlide > slide, System::SharedPtr< StyleColorEffectiveData > styleColor)
 
virtual void ResolveFontDatas (System::SharedPtr< IPresentationComponent > parent)
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
typedef System::Details::SharedMembersType shared_members_type
 structure to keep list of shared pointers contained in object. 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 ()
 Impleemnts C# typeof(System.Object) construct. More...
 

Detailed Description

Immutable object which represents a reflection effect.

Constructor & Destructor Documentation

◆ ReflectionEffectiveData()

Aspose::Slides::Effects::ReflectionEffectiveData::ReflectionEffectiveData ( RectangleAlignment  algn,
double  blurRad,
float  dir,
double  dist,
float  stPos,
float  endPos,
float  fadeDir,
float  stA,
float  endA,
double  kx,
double  ky,
bool  rotWithShape,
double  sx,
double  sy 
)
protected

◆ ~ReflectionEffectiveData()

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

Member Function Documentation

◆ Apply()

virtual System::SharedPtr<TrueColorBitmap> Aspose::Slides::Effects::ReflectionEffectiveData::Apply ( System::SharedPtr< TrueColorBitmap >  img)
protectedvirtual

◆ Equals()

virtual bool Aspose::Slides::Effects::ReflectionEffectiveData::Equals ( System::SharedPtr< System::Object obj)
virtual

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

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

◆ get_BlurRadius()

double Aspose::Slides::Effects::ReflectionEffectiveData::get_BlurRadius ( )
virtual

◆ get_Direction()

float Aspose::Slides::Effects::ReflectionEffectiveData::get_Direction ( )
virtual

Direction of reflection. Read-only float.

Implements Aspose::Slides::Effects::IReflectionEffectiveData.

◆ get_Distance()

double Aspose::Slides::Effects::ReflectionEffectiveData::get_Distance ( )
virtual

Distance of reflection. Read-only double.

Implements Aspose::Slides::Effects::IReflectionEffectiveData.

◆ get_EndPosAlpha()

float Aspose::Slides::Effects::ReflectionEffectiveData::get_EndPosAlpha ( )
virtual

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

Implements Aspose::Slides::Effects::IReflectionEffectiveData.

◆ get_EndReflectionOpacity()

float Aspose::Slides::Effects::ReflectionEffectiveData::get_EndReflectionOpacity ( )
virtual

End reflection opacity. (percents). Read-only float.

Implements Aspose::Slides::Effects::IReflectionEffectiveData.

◆ get_FadeDirection()

float Aspose::Slides::Effects::ReflectionEffectiveData::get_FadeDirection ( )
virtual

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

Implements Aspose::Slides::Effects::IReflectionEffectiveData.

◆ get_RectangleAlign()

RectangleAlignment Aspose::Slides::Effects::ReflectionEffectiveData::get_RectangleAlign ( )
virtual

Rectangle alignment. Read-only RectangleAlignment.

Implements Aspose::Slides::Effects::IReflectionEffectiveData.

◆ get_RotateShadowWithShape()

bool Aspose::Slides::Effects::ReflectionEffectiveData::get_RotateShadowWithShape ( )
virtual

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

Implements Aspose::Slides::Effects::IReflectionEffectiveData.

◆ get_ScaleHorizontal()

double Aspose::Slides::Effects::ReflectionEffectiveData::get_ScaleHorizontal ( )
virtual

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

Implements Aspose::Slides::Effects::IReflectionEffectiveData.

◆ get_ScaleVertical()

double Aspose::Slides::Effects::ReflectionEffectiveData::get_ScaleVertical ( )
virtual

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

Implements Aspose::Slides::Effects::IReflectionEffectiveData.

◆ get_SkewHorizontal()

double Aspose::Slides::Effects::ReflectionEffectiveData::get_SkewHorizontal ( )
virtual

Specifies the horizontal skew angle. Read-only double.

Implements Aspose::Slides::Effects::IReflectionEffectiveData.

◆ get_SkewVertical()

double Aspose::Slides::Effects::ReflectionEffectiveData::get_SkewVertical ( )
virtual

Specifies the vertical skew angle. Read-only double.

Implements Aspose::Slides::Effects::IReflectionEffectiveData.

◆ get_StartPosAlpha()

float Aspose::Slides::Effects::ReflectionEffectiveData::get_StartPosAlpha ( )
virtual

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

Implements Aspose::Slides::Effects::IReflectionEffectiveData.

◆ get_StartReflectionOpacity()

float Aspose::Slides::Effects::ReflectionEffectiveData::get_StartReflectionOpacity ( )
virtual

Starting reflection opacity. (percents). Read-only float.

Implements Aspose::Slides::Effects::IReflectionEffectiveData.

◆ GetHashCode()

virtual int32_t Aspose::Slides::Effects::ReflectionEffectiveData::GetHashCode ( ) const
virtual

Serves as a hash function for a particular type.

Returns
A hash code for the current object.

Reimplemented from System::Object.

◆ GetMutable()

virtual System::SharedPtr<IVisualEffect> Aspose::Slides::Effects::ReflectionEffectiveData::GetMutable ( System::SharedPtr< IDOMObject parentImmediate)
protectedvirtual