windows - polyline with gradient -


is there way draw line along curved path gradient varies in direction perpendicular direction of line? using gdi+ framework graphics.

the simple answer no. can create graphicspath in order describe draw, using addpoint/addline/addbezier , forth needed describe complex path of want draw. when draw path can provide brush can lineargradientbrush or radialgradientbrush. neither of gradient brushes reacts actual path being drawn in sense of changing direction drawing occurs. have specify angles etc constant entire gradient area.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -