'vb.net - draw rectangle filled with white noise on a image
I use following code to draw a rectangle on a image:
Dim gr As Graphics = Graphics.FromImage(augImage)
Dim rect As New Rectangle(xposLabel, yposLabel, w, h)
gr.FillRectangle(Brushes.White, rect)
now, I would need this rectangle to be filled with white noise. How can this be done?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|