class ColorRgba

Defined at line 1321 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/hlcpp/fuchsia/ui/composition/cpp/fidl.h

Represents a color with alpha channel.

Values are unorm (i.e. the valid range is [0,1]), and are in linear color

space. They are not gamma-corrected nor premultiplied.

Public Members

float red
float green
float blue
float alpha

Public Methods

::std::unique_ptr<ColorRgba> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ColorRgba * value, size_t _offset)
zx_status_t Clone (ColorRgba * result)