System.UIConsts.UnpremultiplyAlpha

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function UnpremultiplyAlpha(const C: TAlphaColor): TAlphaColor;

C++

extern DELPHI_PACKAGE System::Uitypes::TAlphaColor __fastcall UnpremultiplyAlpha(const System::Uitypes::TAlphaColor C);

プロパティ

種類 可視性 ソース ユニット
function public
System.UIConsts.pas
System.UIConsts.hpp
System.UIConsts System.UIConsts

説明

指定したアルファ色を、含まれるアルファ値で除算します。


UnpremultiplyAlpha メソッドを使用すると、C パラメータで指定した色の 3 つの RGB 構成要素(つまり、赤、緑、青)それぞれを、含まれるアルファ値で割ることができます。

UnpremultiplyAlpha は、PremultiplyAlpha メソッドの逆の働きをします。

関連項目