Unit 'GraphUtil' Package
[Overview][Constants][Types][Procedures and functions][Index] [#lcl]

DrawGradientWindow

Draws a window with a Title using gradient coloring.

Declaration

Source position: graphutil.pp line 57

procedure DrawGradientWindow(

  Canvas: TCanvas;

  WindowRect: TRect;

  TitleHeight: Integer;

  BaseColor: TGraphicsColor

);

Arguments

Canvas

  

Canvas where the gradient is drawn.

WindowRect

  

Rectangle for the window drawn using a gradient .

TitleHeight

  

Height of the the title bar in the window.

BaseColor

  

Base color for the window.