Struct
WPEWebKitColor
Description [src]
struct WebKitColor {
gdouble red;
gdouble green;
gdouble blue;
gdouble alpha;
}
Boxed type representing a RGBA color.
Structure members
red |
Red channel, between 0.0 and 1.0 inclusive. |
green |
Green channel, between 0.0 and 1.0 inclusive. |
blue |
Blue channel, between 0.0 and 1.0 inclusive. |
alpha |
Alpha channel, between 0.0 and 1.0 inclusive. |
Available since: | 2.24 |
Instance methods
webkit_color_parse
Create a new WebKitColor
for the given color_string
representation. There are two valid representation types: standard color
names (see https://htmlcolorcodes.com/color-names/ for instance) or HEX values.
Available since: 2.24