Is there any way in C# that I can take an empty image and for example draw lines onto it? If possible can you show me an example on how to do this? I’ve seen something like this before but I don’t know to much on how to do it and everywhere online I found was doing it from a pre existing image, then drawing over it. I don’t want to have to load anything, just a nice little thing for an interface I’m working on. I know it sounds like I’m asking for code, but all I’m asking for is how to draw an image without loading anything.
Share
You could use GDI+ (and more specifically the
Graphicsclass):UPDATE:
And if you want to create a new image: