开发者

How to draw "pouring" effect in gdi+?

开发者 https://www.devze.com 2023-01-29 19:22 出处:网络
See the p开发者_如何学编程ic: I know gradients, but in this pic, the gradient border is irregular, just like pouring water.I think you\'re referring to a \"gradient\" -- there is a LinearGradientBr

See the p开发者_如何学编程ic:

How to draw "pouring" effect in gdi+?

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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消