Vcl.Direct2D.D2D1ColorF
Delphi
function D2D1ColorF(const AColor: TColor): TD2D1ColorF; overload;
function D2D1ColorF(const AColor: TColor; Alpha: Single): TD2D1ColorF; overload;
C++
extern DELPHI_PACKAGE D3DCOLORVALUE __fastcall D2D1ColorF(const System::Uitypes::TColor AColor)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Direct2D.pas Vcl.Direct2D.hpp |
Vcl.Direct2D | Vcl.Direct2D |
Description
Creates a Direct2D-compatible color.
Call D2D1ColorF to create a Direct2D-compatible color. D2D1ColorF accepts a TColor argument indicating the GDI color to be used as base for the Direct2D color. An optional Alpha parameter can be used to specify the alpha channel information.