RGBColor class
RGBColor class
The RGBColor interface is used to represent any RGB color value. This interface reflects the values in the underlying style property. Hence, modifications made to the CSSPrimitiveValue objects modify the style property.
Inheritance: RGBColor
→
DOMObject
The RGBColor type exposes the following members:
Properties
Property | Description |
---|---|
red | Gets the red component value of this Color class. |
green | Gets the green component value of this Color class. |
blue | Gets the blue component value of this Color class. |
alpha | Gets the alpha component value of this Color class. |
Methods
Method | Description |
---|---|
get_platform_type | This method is used to retrieve the ECMAScript object Type. |
to_native | Converts to the native color object. |
See Also
- module
aspose.svg.dom.css
- class
DOMObject
- class
RGBColor