Vcl.GraphUtil.ColorAdjustLuma
Delphi
function ColorAdjustLuma(clrRGB: TColor; n: Integer; fScale: BOOL): TColor;
C++
extern DELPHI_PACKAGE System::Uitypes::TColor __fastcall ColorAdjustLuma(System::Uitypes::TColor clrRGB, int n, System::LongBool fScale);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | Vcl.GraphUtil.pas Vcl.GraphUtil.hpp |
Vcl.GraphUtil | Vcl.GraphUtil |
説明
n 係数によって輝度が変更された TColor を返します。
ColorAdjustLuma は、n 係数によって輝度が変更された TColor を返します。
clrRGB はベース色を表します。
n は、輝度を変更するための係数を表します。
fScale は使われませんが、設定する必要があります。