System.Drawing

The Drawing namespace provides access to GDI+ basic graphics functionality. More advanced functionality is provided in the Drawing2D, Imaging, and Text namespaces.

Classes

Class Description
Bitmap Encapsulates a bitmap, which consists of the pixel data for a graphics image and its attributes. A Bitmap is an object used to work with images defined by pixel data.
Brush Defines objects used to fill the interiors of graphical shapes such as rectangles, ellipses, pies, polygons, and paths.
Brushes Brushes for all the standard colors. This class cannot be inherited.
ColorConverter Converts colors from one data type to another.
ColorTranslator Translates colors to and from GDI+ Color structures. This class cannot be inherited.
DrawingSettings Allows to adjust the behavior of the drawing library in case of using of some features that are not yet implemented completely.
Font Defines a particular format for text, including font face, size, and style attributes. This class cannot be inherited.
FontFamily Defines a group of type faces having a similar basic design and certain variations in styles. This class cannot be inherited.
Graphics Encapsulates drawing surface.
Icon Represents a Windows icon, which is a small bitmap image that is used to represent an object. Icons can be thought of as transparent bitmaps, although their size is determined by the system.
Image An abstract base class that provides functionality for the Bitmap and Metafile descended classes.
NamespaceDoc The Drawing namespace provides access to GDI+ basic graphics functionality. More advanced functionality is provided in the Drawing2D, Imaging, and Text namespaces.
Pen Defines an object used to draw lines and curves.
Pens Pens for all the standard colors. This class cannot be inherited.
Region Describes the interior of a graphics shape composed of rectangles and paths. This class cannot be inherited.
SolidBrush Defines a brush of a single color. Brushes are used to fill graphics shapes, such as rectangles, ellipses, pies, polygons, and paths.
StringFormat Encapsulates text layout information (such as alignment, orientation and tab stops) display manipulations (such as ellipsis insertion and national digit substitution) and OpenType features. This class cannot be inherited.
SystemColors Each property of the SystemColors class is a Color structure that is the color of a Windows display element.
SystemFonts Specifies the fonts used to display text in Windows display elements.
SystemIcons Each property of the SystemIcons class is an Icon object for Windows system-wide icons. This class cannot be inherited.
TextureBrush Each property of the TextureBrush class is a Brush object that uses an image to fill the interior of a shape. This class cannot be inherited.

Enumeration

Enumeration Description
ContentAlignment Specifies alignment of content on the drawing surface.
CopyPixelOperation Determines how the source color in a copy pixel operation is combined with the destination color to result in a final color.
FontStyle Specifies style information applied to text.
GraphicsUnit Specifies the unit of measure for the given data.
KnownColor Specifies the known system colors.
RotateFlipType Specifies the direction of an image’s rotation and the axis used to flip the image.
StringAlignment Specifies the alignment of a text string relative to its layout rectangle.
StringDigitSubstitute The StringDigitSubstitute enumeration specifies how to substitute digits in a string according to a user’s locale or language.
StringFormatFlags Specifies the display and layout information for text strings.
StringTrimming Specifies how to trim characters from a string that does not completely fit into a layout shape.