HighTechTalks DotNet Forums  

Component based gradient brushes

Dotnet Framework (Drawing) microsoft.public.dotnet.framework.drawing


Discuss Component based gradient brushes in the Dotnet Framework (Drawing) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Israel
 
Posts: n/a

Default Component based gradient brushes - 07-01-2009 , 07:24 PM






I’ve been trying to write a paint method for a control which I really
want to basically combine two LinearGradientBrushes together; one for
the color and one for the transparency. Basically I want it to go
from one color in the upper left to another color in the lower right
with the gradient at 45 degrees. Then I want the transparency
gradient to be horizontal and go from 0% to 100% in the bottom 1/5 of
the control.
I’ve tried all sorts of combinations of linear and path gradient
brushes and a solution still seems to elude me. Short of doing it
pixel by pixel I’m just not seeing a solution. Has anyone done
anything like this?

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.