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
Post a Comment