System.Drawing.Drawing2D

The Drawing2D namespace provides advanced two-dimensional and vector graphics functionality.

Classes

ClassDescription
AdjustableArrowCapRepresents an adjustable arrow-shaped line cap. This class cannot be inherited.
BlendDefines a blend pattern for a LinearGradientBrush object. This class cannot be inherited.
ColorBlendDefines arrays of colors and positions used for interpolating color blending in a multicolor gradient. This class cannot be inherited.
CustomLineCapEncapsulates a custom user-defined line cap.
GraphicsContainerRepresents the internal data of a graphics container. This class is used when saving the state of a Graphics object using the BeginContainer and EndContainer methods. This class cannot be inherited.
GraphicsPathRepresents a series of connected lines and curves.
GraphicsPathIteratorProvides the ability to iterate through subpaths in a GraphicsPath and test the types of shapes contained in each subpath. This class cannot be inherited.
GraphicsStateRepresents the state of a Graphics object. This object is returned by a call to the Save methods. This class cannot be inherited.
HatchBrushDefines a rectangular brush with a hatch style, a foreground color, and a background color. This class cannot be inherited.
LinearGradientBrushEncapsulates a Brush with a linear gradient. This class cannot be inherited.
MatrixEncapsulates a 3-by-3 affine matrix that represents a geometric transform. This class cannot be inherited.
PathDataContains the graphical data that makes up a GraphicsPath object. This class cannot be inherited.
PathGradientBrushEncapsulates a Brush object that fills the interior of a GraphicsPath object with a gradient. This class cannot be inherited.
RegionDataEncapsulates the data that makes up a Region object. This class cannot be inherited.

Enumeration

EnumerationDescription
CombineModeSpecifies how different clipping regions can be combined.
CompositingModeSpecifies how the source colors are combined with the background colors.
CompositingQualitySpecifies the quality level to use during compositing.
CoordinateSpaceSpecifies the system to use when evaluating coordinates.
DashCapSpecifies the type of graphic shape to use on both ends of each dash in a dashed line.
DashStyleSpecifies the style of dashed lines drawn with a Pen object.
FillModeSpecifies how the interior of a closed path is filled.
FlushIntentionSpecifies whether commands in the graphics stack are terminated (flushed) immediately or executed as soon as possible.
HatchStyleSpecifies the different patterns available for HatchBrush objects.
InterpolationModeThe InterpolationMode enumeration specifies the algorithm that is used when images are scaled or rotated.
LinearGradientModeSpecifies the direction of a linear gradient.
LineCapSpecifies the available cap styles with which a Pen object can end a line.
LineJoinSpecifies how to join consecutive line or curve segments in a figure (subpath) contained in a GraphicsPath object.
MatrixOrderSpecifies the order for matrix transform operations.
PathPointTypeSpecifies the type of point in a GraphicsPath object.
PenAlignmentSpecifies the alignment of a Pen object in relation to the theoretical, zero-width line.
PenTypeSpecifies the type of fill a Pen object uses to fill lines.
PixelOffsetModeSpecifies how pixels are offset during rendering.
SmoothingModeSpecifies whether smoothing (antialiasing) is applied to lines and curves and the edges of filled areas.
WarpModeSpecifies the type of warp transformation applied in a Warp method.
WrapModeSpecifies how a texture or gradient is tiled when it is smaller than the area being filled.