MSDN Documentation

System.Drawing Namespace

Provides access to basic graphics functionality. The System.Drawing namespace is part of the .NET Framework and provides classes for working with graphics, images, text, and printing. It allows developers to create, manipulate, and display 2D graphics in their applications.

Classes

Bitmap

Represents an object that is a bitmap, which consists of the pixel data for a graphics image.

Brush

Abstract base class for all classes that provide a means to fill the interior of a graphical shape.

Color

Represents an ARGB (alpha, red, green, blue) color.

Font

Specifies the meaning of an abstract type face, including family, size, and style.

Graphics

Provides methods and properties to create and manipulate graphics images.

Icon

Represents a Windows icon.

Image

Provides the base class for all image objects.

Pen

Represents a line, curve, or rectangle outline using GDI+.

Point

Represents an ordered pair of x and y coordinates that defines a point in two-dimensional space.

PointF

Represents an ordered pair of floating-point x and y coordinates that defines a point in two-dimensional space.

Rectangle

Represents a rectangle defined by a location, width, and height.

RectangleF

Represents a rectangle defined by a location, width, and height using floating-point values.

Size

Represents the width and height of a rectangular region.

SizeF

Represents the width and height of a rectangular region using floating-point values.

StringFormat

Specifies formatting information for displaying text, such as alignment, ellipsis, and tab stops.

Enumerations

ColorTranslator

Converts between System.Drawing.Color and other color representations.

GraphicsUnit

Specifies the units of measure for graphics operations.

KnownColor

Specifies the standard colors that have a predefined name.

PenAlignment

Specifies the alignment of a Pen object.

Structs

Point

Represents an ordered pair of x and y coordinates that defines a point in two-dimensional space.

PointF

Represents an ordered pair of floating-point x and y coordinates that defines a point in two-dimensional space.

Rectangle

Represents a rectangle defined by a location, width, and height.

RectangleF

Represents a rectangle defined by a location, width, and height using floating-point values.

Size

Represents the width and height of a rectangular region.

SizeF

Represents the width and height of a rectangular region using floating-point values.