Sign in Join
FPDoc Onlineexperiment

DrawVerticalGradient procedure

In unit GraphUtil

Draws a gradient from top to bottom with parabolic color variation.

Declaration

pascal
procedure DrawVerticalGradient(Canvas: TCanvas; ARect: TRect; 
 TopColor: TColor; BottomColor: TColor)

Arguments

Canvas

Canvas where the gradient is drawn.

ARect

Rectangle that defines the drawing boundaries for the gradient.

TopColor

Color used at the top of the gradient.

BottomColor

Color used at the end or bottom of the gradient.

Description

Nothing more than the line above yet.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.