by Sunero Technologies (4 Submissions)
Category: Graphics
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating:
(4 Votes)

Super Gradients is a class that allows you to draw gradients at blazing speeds with n number of colours at required positions. It is incredibly simple to use. Drop the class in your project, give one array containing all the colours and one array containing the position of the colours (positioning is optional) and simply ask it to render.
The given example implementation shows you how to draw Microsoft Word style Gold and Chrome effects. Also includes a demonstration on setting a colour's position in the gradient (use the scrollbar). The next demonstration shows you how to draw Box-style gradients and uses 16 randomly generated colours. Also has examples on simple setup style two colour gradients. All the above stated examples can be seen in the pic below with the Gold effect filled in.
If you have some experience in graphics, you can also use the given functions to implement with very less effort your own gradient styles such as circular, conical or radial, from corners or even diagonal. Please feel free to comment. Thanks.
API DeclarationsCheck Source Code.
Download Super Gradients (Multiple Colours and custom colour positions supported) (8 KB)
No comments have been posted about Super Gradients (Multiple Colours and custom colour positions supported). Why not be the first to post a comment about Super Gradients (Multiple Colours and custom colour positions supported).