VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



SUPER FAST Gradient Fills (Any Angle) (Updated)

by Rocky Clark (Kath-Rock Software) (12 Submissions)
Category: Complete Applications
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (69 Votes)

(Updated - Even Faster Now) This class will fill any Form or PictureBox with a Gradient fill starting from Color1 and blending to Color2. Sure, I know you've seen that plenty of times, but this code allows you to select any angle 0º to 359.99999º and it does a perfect blend at all angles. Use any colors, even system colors. Create multiple special effects by setting PictureBoxes next to each other and filling them in different directions. Includes full source code and sample program. PLEASE VOTE FOR ME!

Inputs
Properties: Color1 (Long) Color2 (Long) Angle (Single) Draw (Method)
Code Returns
Draw returns True if successful

Rate SUPER FAST Gradient Fills (Any Angle) (Updated)

Download SUPER FAST Gradient Fills (Any Angle) (Updated)

Download SUPER FAST Gradient Fills (Any Angle) (Updated) (10 KB)

SUPER FAST Gradient Fills (Any Angle) (Updated) Comments

No comments have been posted about SUPER FAST Gradient Fills (Any Angle) (Updated). Why not be the first to post a comment about SUPER FAST Gradient Fills (Any Angle) (Updated).

Post your comment

Subject:
Message:
0/1000 characters