Struct webview2_sys::Color [−][src]
Expand description
A value representing RGBA color (Red, Green, Blue, Alpha) for WebView2. Each component takes a value from 0 to 255, with 0 being no intensity and 255 being the highest intensity.
Fields
a: BYTE
Specifies the intensity of the Alpha ie. opacity value. 0 is transparent, 255 is opaque.
r: BYTE
Specifies the intensity of the Red color.
g: BYTE
Specifies the intensity of the Green color.
b: BYTE
Specifies the intensity of the Blue color.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Color
impl UnwindSafe for Color
Blanket Implementations
Mutably borrows from an owned value. Read more