API リファレンス
検索インデックスを準備中…

PremultipliedColour

RGB にアルファを乗算済みの Rml::ColourbPremultiplied バイト値。

各チャンネルは [0, 255] の整数。読み書き時に乗除算せず精度を保ちます。 このタグは装飾値内部専用で、単独の Variant には使えません。

interface PremultipliedColour {
    alpha: number;
    blue: number;
    green: number;
    red: number;
    type: "colourb-premultiplied";
}
ソースと継承
メンバー一覧5

プロパティ

プロパティ

alpha: number

アルファのバイト値。

ソースと継承
blue: number

青のバイト値。

ソースと継承
green: number

緑のバイト値。

ソースと継承
red: number

赤のバイト値。

ソースと継承
type: "colourb-premultiplied"

乗算済みバイト形式。

ソースと継承

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0