DOM::RGBColor Class Reference
The RGBColor
interface is used to represent any RGB color value.
More...
#include <css_value.h>
Public Member Functions | |
RGBColor (const QColor &c) | |
This class or method is obsolete, it is provided for compatibility only. | |
RGBColor (QRgb color) | |
RGBColor (const RGBColor &other) | |
RGBColor & | operator= (const RGBColor &other) |
CSSPrimitiveValue | red () const |
This attribute is used for the red value of the RGB color. | |
CSSPrimitiveValue | green () const |
This attribute is used for the green value of the RGB color. | |
CSSPrimitiveValue | blue () const |
This attribute is used for the blue value of the RGB color. | |
QRgb | color () const |
Protected Attributes | |
QRgb | 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 579 of file css_value.h.
Constructor & Destructor Documentation
|
This class or method is obsolete, it is provided for compatibility only.
Definition at line 586 of file css_value.h. References QColor::rgb(). |
Member Function Documentation
|
This attribute is used for the red value of the RGB color.
Definition at line 482 of file css_value.cpp. |
|
This attribute is used for the green value of the RGB color.
Definition at line 487 of file css_value.cpp. |
|
This attribute is used for the blue value of the RGB color.
Definition at line 492 of file css_value.cpp. |
The documentation for this class was generated from the following files: