DOM::RGBColor

Search for usage in LXR

#include <css_value.h>

Public Member Functions

 RGBColor (const QColor &c)
 
 RGBColor (const RGBColor &other)
 
 RGBColor (QRgb color)
 
CSSPrimitiveValue blue () const
 
QRgb color () const
 
CSSPrimitiveValue green () const
 
RGBColoroperator= (const RGBColor &other)
 
CSSPrimitiveValue red () 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 582 of file css_value.h.

Constructor & Destructor Documentation

◆ RGBColor()

DOM::RGBColor::RGBColor ( const QColor c)
inline
Deprecated:

Definition at line 589 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 583 of file css_value.cpp.

◆ color()

QRgb DOM::RGBColor::color ( ) const
inline

Definition at line 621 of file css_value.h.

◆ green()

CSSPrimitiveValue DOM::RGBColor::green ( ) const

This attribute is used for the green value of the RGB color.

Definition at line 578 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 573 of file css_value.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Mar 26 2023 04:01:01 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.