RgbaColor
Defined in: api/node/rust-module.d.cts:456
RgbaColor represents a color in the Slint run-time, represented using 8-bit channels for red, green, blue and the alpha (opacity).
Properties
Section titled “Properties”alpha?
Section titled “alpha?”
optionalalpha?:number
Defined in: api/node/rust-module.d.cts:464
Represents the alpha channel of the color as u8 in the range 0..255.
blue:
number
Defined in: api/node/rust-module.d.cts:462
Represents the blue channel of the color as u8 in the range 0..255.
green:
number
Defined in: api/node/rust-module.d.cts:460
Represents the green channel of the color as u8 in the range 0..255.
red:
number
Defined in: api/node/rust-module.d.cts:458
Represents the red channel of the color as u8 in the range 0..255.
© 2026 SixtyFPS GmbH