System.Drawing.Drawing2D Namespace
This namespace consists classes and
enumerations for advanced 2-dimmensional and
vector graphics functionality. It contains
classes for gradient brushes, matrix and
transformation and graphics path. Some of
the common classes and enumerations are
defined in the following tables -
Classes
Class |
Description |
Blend
and ColorBlend |
These
classes define the blend for
gradient brushes. The ColorBlend
defines array of colors and position
for multi-color gradient. |
GraphicsPath |
This
class represents a set of connected
lines and curves. |
HatchBrush |
A
brush with hatch style, a foreground
color, and a background color. |
LinearGradientBrush |
Provides a brush functionality with
linear gradient. |
Matrix |
3x3
matrix represents geometric
transformation. |
Enumerations
Enumeration |
Description |
CombineMode |
Different clipping types |
CompositingQuality |
The
quality of compositing |
DashStyle |
The
style of dashed lines drawn with a
Pen. |
HatchStyle |
Represents different patterns
available for
HatchBrush |
QualityMode |
Specifies the quality of
GDI+
objects. |
SmoothingMode |
Specifies the quality of
GDI+
objects. |
System.Drawing.Imaging Namespace
This namespace provides advanced
GDI+
imaging functionality. It defines classes
for metafile images. Other classes are
encoder and decoder, which let you use any
image format. It also defines a class
PropertyItem, which let you store and
retrieve information about the image files.
GDI+ Font,
Brush
and
Bitmap
GDI+ GraphicsPath
and
LinearGradientBrush
GDI+ Printing.
GDI+
and
DrawArc
and
DrawPath
GDI+ Color
and
ARGB
with
Example