Appendix N. Graphics
This appendix provides information about graphics classes.
Graphics Namespaces
This section describes the most important graphics namespaces and their most useful classes, structures, and enumerated values.
System.Drawing
This namespace defines the most important graphics objects such as Graphics
, Pen
, Brush
, Font
, FontFamily
, Bitmap
, Icon
, and Image
. The following table describes the namespace's most useful classes and structures.
Classes and Structures | Purpose |
---|---|
| Represents a bitmap image defined by pixel data. |
| Represents area fill characteristics. |
| Defines a color's red, green, blue, and alpha components as values between 0 and 255. Alpha = 0 means the object is transparent; alpha = 255 means it is opaque. |
| Represents a particular font (name, size, and style, such as italic or bold). |
| Represents a group of typefaces with similar characteristics. |
| Represents a drawing surface. Provides methods to draw on the surface. |
| Represents a Windows icon. |
| Abstract base class from which |
| Represents a graphic metafile. |
| Represents line drawing characteristics (such as color, thickness, and dash style). |
| Provides a large number of predefined pens with different colors and width 1. |
| Defines a point's X and Y coordinates. |
| Defines a point's X and Y coordinates with floating-point values. |
| Defines a rectangle using a |
| Defines a rectangle using a |
Get Visual Basic® 2008 Programmer's Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.