O'Reilly logo

Graphics Programming with GDI+ by Mahesh Chand

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

2.4. Some Basic GDI+ Objects

In previous sections we discussed the steps required to write a simple graphics application using Visual Studio .NET. Before we move on to the next chapter, let’s discuss some basic GDI+ objects, such as the color-, point-, and rectangle-related structures provided by the .NET Framework library. Understanding these structures is very important because they are used throughout the book.

2.4.1. The Color Structure

You may have noticed that we used the Color structure in our previous example. The Color structure represents a GDI+ ARGB (alpha-red-green-blue) color. This class contains a static property for almost every possible color. For example, Color.Black and Color.Red represent black and red, respectively. Besides ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required