fuchsia.ui.types

添加数量:7

结构体

ColorRgb

fuchsia.ui.types/types.fidl 中定义

表示没有 alpha 通道的颜色。每个通道的范围通常介于 0.0 到 1.0 之间。

字段类型说明默认
red float32 无默认值
green float32 无默认值
blue float32 无默认值

ColorRgba

fuchsia.ui.types/types.fidl 中定义

表示颜色。使用此结构体的接口应记录浮点数是否已通过 alpha 预乘。每个渠道的范围值通常介于 0.0 到 1.0 之间。

字段类型说明默认
red float32 无默认值
green float32 无默认值
blue float32 无默认值
alpha float32 无默认值