DOM::RGBColor Class Reference
#include <css_value.h>
Public Member Functions | |
RGBColor (const TQColor &c) | |
RGBColor (TQRgb color) | |
RGBColor (const RGBColor &other) | |
RGBColor & | operator= (const RGBColor &other) |
CSSPrimitiveValue | red () const |
CSSPrimitiveValue | green () const |
CSSPrimitiveValue | blue () const |
TQRgb | color () const |
Protected Attributes | |
TQRgb | m_color |
Detailed Description
The RGBColor
interface is used to represent any RGB color value.
This interface reflects the values in the underlying style property. Hence, modifications made through this interface modify the style property.
Definition at line 591 of file css_value.h.
Constructor & Destructor Documentation
◆ RGBColor()
|
inline |
Definition at line 598 of file css_value.h.
Member Function Documentation
◆ blue()
CSSPrimitiveValue DOM::RGBColor::blue | ( | ) | const |
This attribute is used for the blue value of the RGB color.
Definition at line 511 of file css_value.cpp.
◆ green()
CSSPrimitiveValue DOM::RGBColor::green | ( | ) | const |
This attribute is used for the green value of the RGB color.
Definition at line 506 of file css_value.cpp.
◆ red()
CSSPrimitiveValue DOM::RGBColor::red | ( | ) | const |
This attribute is used for the red value of the RGB color.
Definition at line 501 of file css_value.cpp.
The documentation for this class was generated from the following files: