[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'GraphUtil' (#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: TColor

);

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.


Version 3.2 Generated 2024-02-25 Home