Graphics Device Interface (GDI) Overview
The Graphics Device Interface (GDI) provides a set of functions for rendering graphics and text on Windows devices. It forms the foundation for drawing operations in the System.Drawing namespace.
-
Graphics
Represents a GDI+ drawing surface, providing methods for drawing shapes, text, and images.
-
Pen
Defines the attributes of lines and curves, such as color, width, and dash style.
-
Brush
Abstract base class for filling graphics shapes with solid colors, gradients, or patterns.
-
Font
Encapsulates a GDI font, including its family, size, and style.
-
Bitmap
Represents an image defined by pixel data.
-
Color
Defines colors using ARGB (alpha, red, green, blue) components.
-
Region
Specifies the interior of a shape or a combination of shapes.
-
Matrix
Represents a 3x3 affine transformation matrix for geometric transformations.
-
GraphicsPath
Provides a series of connected lines and curves.