Shared Tutorials
Tutorials Shared by the Internet Community
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Basic 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
Average Rating: 2.5 out of 5
Category: Delphi/Image Processing
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.
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%