Aspose::Slides::IColorFormat Class Referenceabstract

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< IColorOperationCollectionget_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...
 
- 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 int GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. 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)
 

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

Represents a color used in a presentation.

Member Function Documentation

◆ CopyFrom()

virtual void Aspose::Slides::IColorFormat::CopyFrom ( System::SharedPtr< IColorFormat color)
pure virtual

Copy color format from "color".

Implemented in Aspose::Slides::ColorFormat.

◆ get_B()

virtual uint8_t Aspose::Slides::IColorFormat::get_B ( )
pure virtual

Returns the blue component of a color. All color transformations are ignored. Read uint8_t.

Implemented in Aspose::Slides::ColorFormat.

◆ get_Color()

virtual System::Drawing::Color Aspose::Slides::IColorFormat::get_Color ( )
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.

◆ get_ColorTransform()

virtual System::SharedPtr<IColorOperationCollection> Aspose::Slides::IColorFormat::get_ColorTransform ( )
pure virtual

Returns the collection of color transformations applied to a color. Read-only IColorOperationCollection.

Implemented in Aspose::Slides::ColorFormat.

◆ get_ColorType()

virtual Aspose::Slides::ColorType Aspose::Slides::IColorFormat::get_ColorType ( )
pure virtual

Returns the color definition method. Read Slides::ColorType.

Implemented in Aspose::Slides::ColorFormat.

◆ get_FloatB()

virtual float Aspose::Slides::IColorFormat::get_FloatB ( )
pure virtual

Returns the blue component of a color. All color transformations are ignored. Read float.

Implemented in Aspose::Slides::ColorFormat.

◆ get_FloatG()

virtual float Aspose::Slides::IColorFormat::get_FloatG ( )
pure virtual

Returns the green component of a color. All color transformations are ignored. Read float.

Implemented in Aspose::Slides::ColorFormat.

◆ get_FloatR()

virtual float Aspose::Slides::IColorFormat::get_FloatR ( )
pure virtual

Returns the red component of a color. All color transformations are ignored. Read float.

Implemented in Aspose::Slides::ColorFormat.

◆ get_G()

virtual uint8_t Aspose::Slides::IColorFormat::get_G ( )
pure virtual

Returns the green component of a color. All color transformations are ignored. Read uint8_t.

Implemented in Aspose::Slides::ColorFormat.

◆ get_Hue()

virtual float Aspose::Slides::IColorFormat::get_Hue ( )
pure virtual

Returns the hue component of a color in HSL representation. All color transformations are ignored. Read float.

Implemented in Aspose::Slides::ColorFormat.

◆ get_Luminance()

virtual float Aspose::Slides::IColorFormat::get_Luminance ( )
pure virtual

Returns the luminance component of a color in HSL representation. All color transformations are ignored. Read float.

Implemented in Aspose::Slides::ColorFormat.

◆ get_PresetColor()

virtual Aspose::Slides::PresetColor Aspose::Slides::IColorFormat::get_PresetColor ( )
pure virtual

Returns the color preset. Read Slides::PresetColor.

Implemented in Aspose::Slides::ColorFormat.

◆ get_R()

virtual uint8_t Aspose::Slides::IColorFormat::get_R ( )
pure virtual

Returns the red component of a color. All color transformations are ignored. Read uint8_t.

Implemented in Aspose::Slides::ColorFormat.

◆ get_Saturation()

virtual float Aspose::Slides::IColorFormat::get_Saturation ( )
pure virtual

Returns the saturation component of a color in HSL representation. All color transformations are ignored. Read float.

Implemented in Aspose::Slides::ColorFormat.

◆ get_SchemeColor()

virtual Aspose::Slides::SchemeColor Aspose::Slides::IColorFormat::get_SchemeColor ( )
pure virtual

Returns the color identified by a color scheme. Read Slides::SchemeColor.

Implemented in Aspose::Slides::ColorFormat.

◆ get_SystemColor()

virtual Aspose::Slides::SystemColor Aspose::Slides::IColorFormat::get_SystemColor ( )
pure virtual

Returns the color identified by the system color table. Read Slides::SystemColor.

Implemented in Aspose::Slides::ColorFormat.

◆ set_B()

virtual void Aspose::Slides::IColorFormat::set_B ( uint8_t  value)
pure virtual

Sets the blue component of a color. All color transformations are ignored. Write uint8_t.

Implemented in Aspose::Slides::ColorFormat.

◆ set_Color()

virtual void Aspose::Slides::IColorFormat::set_Color ( System::Drawing::Color  value)
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.

◆ set_ColorType()

virtual void Aspose::Slides::IColorFormat::set_ColorType ( Aspose::Slides::ColorType  value)
pure virtual

Sets the color definition method. Write Slides::ColorType.

Implemented in Aspose::Slides::ColorFormat.

◆ set_FloatB()

virtual void Aspose::Slides::IColorFormat::set_FloatB ( float  value)
pure virtual

Sets the blue component of a color. All color transformations are ignored. Write float.

Implemented in Aspose::Slides::ColorFormat.

◆ set_FloatG()

virtual void Aspose::Slides::IColorFormat::set_FloatG ( float  value)
pure virtual

Sets the green component of a color. All color transformations are ignored. Write float.

Implemented in Aspose::Slides::ColorFormat.

◆ set_FloatR()

virtual void Aspose::Slides::IColorFormat::set_FloatR ( float  value)
pure virtual

Sets the red component of a color. All color transformations are ignored. Write float.

Implemented in Aspose::Slides::ColorFormat.

◆ set_G()

virtual void Aspose::Slides::IColorFormat::set_G ( uint8_t  value)
pure virtual

Sets the green component of a color. All color transformations are ignored. Write uint8_t.

Implemented in Aspose::Slides::ColorFormat.

◆ set_Hue()

virtual void Aspose::Slides::IColorFormat::set_Hue ( float  value)
pure virtual

Sets the hue component of a color in HSL representation. All color transformations are ignored. Write float.

Implemented in Aspose::Slides::ColorFormat.

◆ set_Luminance()

virtual void Aspose::Slides::IColorFormat::set_Luminance ( float  value)
pure virtual

Sets the luminance component of a color in HSL representation. All color transformations are ignored. Write float.

Implemented in Aspose::Slides::ColorFormat.

◆ set_PresetColor()

virtual void Aspose::Slides::IColorFormat::set_PresetColor ( Aspose::Slides::PresetColor  value)
pure virtual

Sets the color preset. Write Slides::PresetColor.

Implemented in Aspose::Slides::ColorFormat.

◆ set_R()

virtual void Aspose::Slides::IColorFormat::set_R ( uint8_t  value)
pure virtual

Sets the red component of a color. All color transformations are ignored. Write uint8_t.

Implemented in Aspose::Slides::ColorFormat.

◆ set_Saturation()

virtual void Aspose::Slides::IColorFormat::set_Saturation ( float  value)
pure virtual

Sets the saturation component of a color in HSL representation. All color transformations are ignored. Write float.

Implemented in Aspose::Slides::ColorFormat.

◆ set_SchemeColor()

virtual void Aspose::Slides::IColorFormat::set_SchemeColor ( Aspose::Slides::SchemeColor  value)
pure virtual

Sets the color identified by a color scheme. Write Slides::SchemeColor.

Implemented in Aspose::Slides::ColorFormat.

◆ set_SystemColor()

virtual void Aspose::Slides::IColorFormat::set_SystemColor ( Aspose::Slides::SystemColor  value)
pure virtual

Sets the color identified by the system color table. Write Slides::SystemColor.

Implemented in Aspose::Slides::ColorFormat.

◆ ToString()

virtual System::String Aspose::Slides::IColorFormat::ToString ( ColorStringFormat  format)
pure virtual

Returns a System::String that represents the current color format.

Parameters
formatA type of color string format.
Returns
A string that represents the current color format.

Implemented in Aspose::Slides::ColorFormat.