Drawing a Shaded Rectangle by using GradientFill
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Detail
Drawing a Shaded Rectangle by using GradientFill
This Delphi source code shows how the GradientFill function can be used to add smooth shading to a triangle or rectangle.http://www.delphi-central.com/tutorials/DelphiGradientFill.aspx
Total Hits: 3161
Total Votes: 36 votes
Category: Delphi/Image Processing
Submitted on: 2008-04-16 06:37:02
Submitted By: Shekhar
Description:
This Delphi source code shows how the GradientFill function can be used to add smooth shading to a triangle or rectangle. For a triangle call the GradientFill function with the three triangle endpoints. GDI will linearly interpolate and fill the triangle.To add smooth shading to a rectangle, call GradientFill with the upper-left and lower-right coordinates of the rectangle. More detail...
Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() ![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
6 |





16.67%

16.67%

16.67%

16.67%

16.67%