Vcl.Direct2D.D2D1ColorF

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function D2D1ColorF(const AColor: TColor): TD2D1ColorF; overload;
function D2D1ColorF(const AColor: TColor; Alpha: Single): TD2D1ColorF; overload;

Properties

Type Visibility Source Unit Parent
function public Vcl.Direct2D.pas 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.