lovespring
lovespring

Reputation: 19559

How to draw "pouring" effect in gdi+?

See the pic:

alt text

I know gradients, but in this pic, the gradient border is irregular, just like pouring water.

Upvotes: 1

Views: 490

Answers (1)

casablanca
casablanca

Reputation: 70701

I think you're referring to a "gradient" -- there is a LinearGradientBrush class that you can use for this purpose; you can also find an example on MSDN: Creating a Linear Gradient.

Upvotes: 1

Related Questions