Google is committed to advancing racial equity for Black communities. See how.

fuchsia.ui.types

STRUCTS

ColorRgb

Defined in fuchsia.ui.types/types.fidl

Represents a color without alpha channel. Range per channel is usually between 0.0 and 1.0.

NameTypeDescriptionDefault
red float32 No default
green float32 No default
blue float32 No default

ColorRgba

Defined in fuchsia.ui.types/types.fidl

Represents a color. Interfaces that use this struct should document whether or not the floats have been premultiplied by alpha. Range per channel is usually between 0.0 and 1.0.

NameTypeDescriptionDefault
red float32 No default
green float32 No default
blue float32 No default
alpha float32 No default