docs
Loading...
Searching...
No Matches
ULColor

#include <Ultralight/CAPI/CAPI_ColorTypes.h>

Overview

A color value.

Zero-initialized means unset (distinguishable from explicit transparent black, which carries kULColorFlags_Set).

Public Attributes

float r
 Red, 0..1, in the space named by space.
float g
 Green, 0..1.
float b
 Blue, 0..1.
float a
 Alpha, 0..1, linear (1 is fully opaque).
unsigned char space
 A ULColorSpace value.
unsigned char flags
 A ULColorFlags combination.

Member Data Documentation

◆ a

float a

Alpha, 0..1, linear (1 is fully opaque).

◆ b

float b

Blue, 0..1.

◆ flags

unsigned char flags

A ULColorFlags combination.

◆ g

float g

Green, 0..1.

◆ r

float r

Red, 0..1, in the space named by space.

◆ space

unsigned char space

A ULColorSpace value.


The documentation for this struct was generated from the following file: