Represents a color used in a presentation. More...
Inherits Aspose::Slides::IFillParamSource.
Inherited by Aspose::Slides::ColorFormat.
Public Member Functions | |
virtual Aspose::Slides::ColorType | get_ColorType ()=0 |
Returns the color definition method. Read Slides::ColorType. More... | |
virtual void | set_ColorType (Aspose::Slides::ColorType value)=0 |
Sets the color definition method. Write Slides::ColorType. More... | |
virtual System::Drawing::Color | get_Color ()=0 |
Returns resulting color (with all color transformations applied). Sets RGB colors and clears all color transformations. Read System::Drawing::Color. More... | |
virtual void | set_Color (System::Drawing::Color value)=0 |
Returns resulting color (with all color transformations applied). Sets RGB colors and clears all color transformations. Write System::Drawing::Color. More... | |
virtual Aspose::Slides::PresetColor | get_PresetColor ()=0 |
Returns the color preset. Read Slides::PresetColor. More... | |
virtual void | set_PresetColor (Aspose::Slides::PresetColor value)=0 |
Sets the color preset. Write Slides::PresetColor. More... | |
virtual Aspose::Slides::SystemColor | get_SystemColor ()=0 |
Returns the color identified by the system color table. Read Slides::SystemColor. More... | |
virtual void | set_SystemColor (Aspose::Slides::SystemColor value)=0 |
Sets the color identified by the system color table. Write Slides::SystemColor. More... | |
virtual Aspose::Slides::SchemeColor | get_SchemeColor ()=0 |
Returns the color identified by a color scheme. Read Slides::SchemeColor. More... | |
virtual void | set_SchemeColor (Aspose::Slides::SchemeColor value)=0 |
Sets the color identified by a color scheme. Write Slides::SchemeColor. More... | |
virtual uint8_t | get_R ()=0 |
Returns the red component of a color. All color transformations are ignored. Read uint8_t. More... | |
virtual void | set_R (uint8_t value)=0 |
Sets the red component of a color. All color transformations are ignored. Write uint8_t. More... | |
virtual uint8_t | get_G ()=0 |
Returns the green component of a color. All color transformations are ignored. Read uint8_t. More... | |
virtual void | set_G (uint8_t value)=0 |
Sets the green component of a color. All color transformations are ignored. Write uint8_t. More... | |
virtual uint8_t | get_B ()=0 |
Returns the blue component of a color. All color transformations are ignored. Read uint8_t. More... | |
virtual void | set_B (uint8_t value)=0 |
Sets the blue component of a color. All color transformations are ignored. Write uint8_t. More... | |
virtual float | get_FloatR ()=0 |
Returns the red component of a color. All color transformations are ignored. Read float. More... | |
virtual void | set_FloatR (float value)=0 |
Sets the red component of a color. All color transformations are ignored. Write float. More... | |
virtual float | get_FloatG ()=0 |
Returns the green component of a color. All color transformations are ignored. Read float. More... | |
virtual void | set_FloatG (float value)=0 |
Sets the green component of a color. All color transformations are ignored. Write float. More... | |
virtual float | get_FloatB ()=0 |
Returns the blue component of a color. All color transformations are ignored. Read float. More... | |
virtual void | set_FloatB (float value)=0 |
Sets the blue component of a color. All color transformations are ignored. Write float. More... | |
virtual float | get_Hue ()=0 |
Returns the hue component of a color in HSL representation. All color transformations are ignored. Read float. More... | |
virtual void | set_Hue (float value)=0 |
Sets the hue component of a color in HSL representation. All color transformations are ignored. Write float. More... | |
virtual float | get_Saturation ()=0 |
Returns the saturation component of a color in HSL representation. All color transformations are ignored. Read float. More... | |
virtual void | set_Saturation (float value)=0 |
Sets the saturation component of a color in HSL representation. All color transformations are ignored. Write float. More... | |
virtual float | get_Luminance ()=0 |
Returns the luminance component of a color in HSL representation. All color transformations are ignored. Read float. More... | |
virtual void | set_Luminance (float value)=0 |
Sets the luminance component of a color in HSL representation. All color transformations are ignored. Write float. More... | |
virtual System::SharedPtr< IColorOperationCollection > | get_ColorTransform ()=0 |
Returns the collection of color transformations applied to a color. Read-only IColorOperationCollection. More... | |
virtual System::String | ToString (ColorStringFormat format)=0 |
Returns a System::String that represents the current color format. More... | |
virtual void | CopyFrom (System::SharedPtr< IColorFormat > color)=0 |
Copy color format from "color". More... | |
![]() | |
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... | |
Object & | operator= (Object const &x) |
Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More... | |
Object * | SharedRefAdded () |
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 TypeInfo & | GetType () 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... | |
Additional Inherited Members | |
![]() | |
typedef SmartPtr< Object > | ptr |
Alias for smart pointer type. More... | |
![]() | |
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 TypeInfo & | Type () |
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... | |
Represents a color used in a presentation.
|
pure virtual |
Copy color format from "color".
color | Color IColorFormat |
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Returns the blue component of a color. All color transformations are ignored. Read uint8_t.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Returns resulting color (with all color transformations applied). Sets RGB colors and clears all color transformations. Read System::Drawing::Color.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Returns the collection of color transformations applied to a color. Read-only IColorOperationCollection.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Returns the color definition method. Read Slides::ColorType.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Returns the blue component of a color. All color transformations are ignored. Read float.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Returns the green component of a color. All color transformations are ignored. Read float.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Returns the red component of a color. All color transformations are ignored. Read float.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Returns the green component of a color. All color transformations are ignored. Read uint8_t.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Returns the hue component of a color in HSL representation. All color transformations are ignored. Read float.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Returns the luminance component of a color in HSL representation. All color transformations are ignored. Read float.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Returns the color preset. Read Slides::PresetColor.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Returns the red component of a color. All color transformations are ignored. Read uint8_t.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Returns the saturation component of a color in HSL representation. All color transformations are ignored. Read float.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Returns the color identified by a color scheme. Read Slides::SchemeColor.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Returns the color identified by the system color table. Read Slides::SystemColor.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Sets the blue component of a color. All color transformations are ignored. Write uint8_t.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Returns resulting color (with all color transformations applied). Sets RGB colors and clears all color transformations. Write System::Drawing::Color.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Sets the color definition method. Write Slides::ColorType.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Sets the blue component of a color. All color transformations are ignored. Write float.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Sets the green component of a color. All color transformations are ignored. Write float.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Sets the red component of a color. All color transformations are ignored. Write float.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Sets the green component of a color. All color transformations are ignored. Write uint8_t.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Sets the hue component of a color in HSL representation. All color transformations are ignored. Write float.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Sets the luminance component of a color in HSL representation. All color transformations are ignored. Write float.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Sets the color preset. Write Slides::PresetColor.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Sets the red component of a color. All color transformations are ignored. Write uint8_t.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Sets the saturation component of a color in HSL representation. All color transformations are ignored. Write float.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Sets the color identified by a color scheme. Write Slides::SchemeColor.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Sets the color identified by the system color table. Write Slides::SystemColor.
Implemented in Aspose::Slides::ColorFormat.
|
pure virtual |
Returns a System::String that represents the current color format.
format | A type of color string format. |
Implemented in Aspose::Slides::ColorFormat.