Vcl.GraphUtil.GradientFillCanvas

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure GradientFillCanvas(const ACanvas: TCanvas; const AStartColor, AEndColor: TColor; const ARect: TRect; const Direction: TGradientDirection);

C++

extern DELPHI_PACKAGE void __fastcall GradientFillCanvas(Vcl::Graphics::TCanvas* const ACanvas, const System::Uitypes::TColor AStartColor, const System::Uitypes::TColor AEndColor, const System::Types::TRect &ARect, const TGradientDirection Direction);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.GraphUtil.pas
Vcl.GraphUtil.hpp
Vcl.GraphUtil Vcl.GraphUtil

Description

Fills a TCanvas with a gradient.

GradientFillCanvas fills a TCanvas with a gradient described by a direction and the start and end colors.

ACanvas represents the TCanvas used for drawing.

AStartColor represents the start color for the gradient.

AEndColor represents the end color for the gradient.

ARect represents the rectangle into which the gradient is drawn.

Direction represents the direction of the gradient.

See Also