slint-ui
    Preparing search index...

    Interface RgbaColor

    RgbaColor represents a color in the Slint run-time, represented using 8-bit channels for red, green, blue and the alpha (opacity).

    interface RgbaColor {
        alpha?: number;
        blue: number;
        green: number;
        red: number;
    }
    Index

    Properties

    Properties

    alpha?: number

    Represents the alpha channel of the color as u8 in the range 0..255.

    blue: number

    Represents the blue channel of the color as u8 in the range 0..255.

    green: number

    Represents the green channel of the color as u8 in the range 0..255.

    red: number

    Represents the red channel of the color as u8 in the range 0..255.