System.Drawing.Graphics: Method Members

The methods of System.Drawing.Graphics are listed below. For a list of all members, see the Graphics Members list.

See Also: Inherited members from System.MarshalByRefObject

Public Methods

AddMetafileComment(byte[])

Adds a comment to the current System.Drawing.Imaging.Metafile.

BeginContainer() : System.Drawing.Drawing2D.GraphicsContainer

Saves a graphics container with the current state of this System.Drawing.Graphics and opens and uses a new graphics container.

BeginContainer(Rectangle, Rectangle, GraphicsUnit) : System.Drawing.Drawing2D.GraphicsContainer

Saves a graphics container with the current state of this System.Drawing.Graphics and opens and uses a new graphics container with the specified scale transformation.

BeginContainer(RectangleF, RectangleF, GraphicsUnit) : System.Drawing.Drawing2D.GraphicsContainer

Saves a graphics container with the current state of this System.Drawing.Graphics and opens and uses a new graphics container with the specified scale transformation.

Clear(Color)

Clears the entire drawing surface and fills it with the specified background color.

CopyFromScreen(Point, Point, Size)

Performs a bit-block transfer of color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the System.Drawing.Graphics.

CopyFromScreen(Point, Point, Size, CopyPixelOperation)

Performs a bit-block transfer of color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the System.Drawing.Graphics.

CopyFromScreen(int, int, int, int, Size)

Performs a bit-block transfer of the color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the System.Drawing.Graphics.

CopyFromScreen(int, int, int, int, Size, CopyPixelOperation)

Performs a bit-block transfer of the color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the System.Drawing.Graphics.

Dispose()

Releases all resources used by this System.Drawing.Graphics.

DrawArc(Pen, Rectangle, float, float)

Draws an arc representing a portion of an ellipse specified by a System.Drawing.Rectangle structure.

DrawArc(Pen, RectangleF, float, float)

Draws an arc representing a portion of an ellipse specified by a System.Drawing.RectangleF structure.

DrawArc(Pen, int, int, int, int, int, int)

Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.

DrawArc(Pen, float, float, float, float, float, float)

Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.

DrawBezier(Pen, Point, Point, Point, Point)

Draws a Bézier spline defined by four System.Drawing.Point structures.

DrawBezier(Pen, PointF, PointF, PointF, PointF)

Draws a Bézier spline defined by four System.Drawing.PointF structures.

DrawBezier(Pen, float, float, float, float, float, float, float, float)

Draws a Bézier spline defined by four ordered pairs of coordinates that represent points.

DrawBeziers(Pen, Point[])

Draws a series of Bézier splines from an array of System.Drawing.Point structures.

DrawBeziers(Pen, PointF[])

Draws a series of Bézier splines from an array of System.Drawing.PointF structures.

DrawClosedCurve(Pen, Point[])

Draws a closed cardinal spline defined by an array of System.Drawing.Point structures.

DrawClosedCurve(Pen, PointF[])

Draws a closed cardinal spline defined by an array of System.Drawing.PointF structures.

DrawClosedCurve(Pen, Point[], float, System.Drawing.Drawing2D.FillMode)

Draws a closed cardinal spline defined by an array of System.Drawing.Point structures using a specified tension.

DrawClosedCurve(Pen, PointF[], float, System.Drawing.Drawing2D.FillMode)

Draws a closed cardinal spline defined by an array of System.Drawing.PointF structures using a specified tension.

DrawCurve(Pen, Point[])

Draws a cardinal spline through a specified array of System.Drawing.Point structures.

DrawCurve(Pen, PointF[])

Draws a cardinal spline through a specified array of System.Drawing.PointF structures.

DrawCurve(Pen, Point[], float)

Draws a cardinal spline through a specified array of System.Drawing.Point structures using a specified tension.

DrawCurve(Pen, PointF[], float)

Draws a cardinal spline through a specified array of System.Drawing.PointF structures using a specified tension.

DrawCurve(Pen, PointF[], int, int)

Draws a cardinal spline through a specified array of System.Drawing.PointF structures. The drawing begins offset from the beginning of the array.

DrawCurve(Pen, Point[], int, int, float)

Draws a cardinal spline through a specified array of System.Drawing.Point structures using a specified tension.

DrawCurve(Pen, PointF[], int, int, float)

Draws a cardinal spline through a specified array of System.Drawing.PointF structures using a specified tension. The drawing begins offset from the beginning of the array.

DrawEllipse(Pen, Rectangle)

Draws an ellipse specified by a bounding System.Drawing.Rectangle structure.

DrawEllipse(Pen, RectangleF)

Draws an ellipse defined by a bounding System.Drawing.RectangleF.

DrawEllipse(Pen, int, int, int, int)

Draws an ellipse defined by a bounding rectangle specified by coordinates for the upper-left corner of the rectangle, a height, and a width.

DrawEllipse(Pen, float, float, float, float)

Draws an ellipse defined by a bounding rectangle specified by a pair of coordinates, a height, and a width.

DrawIcon(Icon, Rectangle)

Draws the image represented by the specified System.Drawing.Icon within the area specified by a System.Drawing.Rectangle structure.

DrawIcon(Icon, int, int)

Draws the image represented by the specified System.Drawing.Icon at the specified coordinates.

DrawIconUnstretched(Icon, Rectangle)

Draws the image represented by the specified System.Drawing.Icon without scaling the image.

DrawImage(Image, Rectangle, int, int, int, int, GraphicsUnit, System.Drawing.Imaging.ImageAttributes, Graphics.DrawImageAbort, IntPtr)
Documentation for this section has not yet been entered.
DrawImage(Image, Rectangle, float, float, float, float, GraphicsUnit, System.Drawing.Imaging.ImageAttributes, Graphics.DrawImageAbort, IntPtr)
Documentation for this section has not yet been entered.
DrawImage(Image, Point)

Draws the specified System.Drawing.Image, using its original physical size, at the specified location.

DrawImage(Image, Point[])

Draws the specified System.Drawing.Image at the specified location and with the specified shape and size.

DrawImage(Image, PointF)

Draws the specified System.Drawing.Image, using its original physical size, at the specified location.

DrawImage(Image, PointF[])

Draws the specified System.Drawing.Image at the specified location and with the specified shape and size.

DrawImage(Image, Rectangle)

Draws the specified System.Drawing.Image at the specified location and with the specified size.

DrawImage(Image, RectangleF)

Draws the specified System.Drawing.Image at the specified location and with the specified size.

DrawImage(Image, int, int)

Draws the specified image, using its original physical size, at the location specified by a coordinate pair.

DrawImage(Image, float, float)

Draws the specified System.Drawing.Image, using its original physical size, at the specified location.

DrawImage(Image, Point[], Rectangle, GraphicsUnit)

Draws the specified portion of the specified System.Drawing.Image at the specified location and with the specified size.

DrawImage(Image, PointF[], RectangleF, GraphicsUnit)

Draws the specified portion of the specified System.Drawing.Image at the specified location and with the specified size.

DrawImage(Image, Rectangle, Rectangle, GraphicsUnit)

Draws the specified portion of the specified System.Drawing.Image at the specified location and with the specified size.

DrawImage(Image, RectangleF, RectangleF, GraphicsUnit)

Draws the specified portion of the specified System.Drawing.Image at the specified location and with the specified size.

DrawImage(Image, Point[], Rectangle, GraphicsUnit, System.Drawing.Imaging.ImageAttributes)

Draws the specified portion of the specified System.Drawing.Image at the specified location.

DrawImage(Image, PointF[], RectangleF, GraphicsUnit, System.Drawing.Imaging.ImageAttributes)

Draws the specified portion of the specified System.Drawing.Image at the specified location and with the specified size.

DrawImage(Image, int, int, Rectangle, GraphicsUnit)

Draws a portion of an image at a specified location.

DrawImage(Image, int, int, int, int)

Draws the specified System.Drawing.Image at the specified location and with the specified size.

DrawImage(Image, float, float, RectangleF, GraphicsUnit)

Draws a portion of an image at a specified location.

DrawImage(Image, float, float, float, float)

Draws the specified System.Drawing.Image at the specified location and with the specified size.

DrawImage(Image, Point[], Rectangle, GraphicsUnit, System.Drawing.Imaging.ImageAttributes, Graphics.DrawImageAbort)
Documentation for this section has not yet been entered.
DrawImage(Image, PointF[], RectangleF, GraphicsUnit, System.Drawing.Imaging.ImageAttributes, Graphics.DrawImageAbort)
Documentation for this section has not yet been entered.
DrawImage(Image, Point[], Rectangle, GraphicsUnit, System.Drawing.Imaging.ImageAttributes, Graphics.DrawImageAbort, int)
Documentation for this section has not yet been entered.
DrawImage(Image, PointF[], RectangleF, GraphicsUnit, System.Drawing.Imaging.ImageAttributes, Graphics.DrawImageAbort, int)
Documentation for this section has not yet been entered.
DrawImage(Image, Rectangle, int, int, int, int, GraphicsUnit)

Draws the specified portion of the specified System.Drawing.Image at the specified location and with the specified size.

DrawImage(Image, Rectangle, float, float, float, float, GraphicsUnit)

Draws the specified portion of the specified System.Drawing.Image at the specified location and with the specified size.

DrawImage(Image, Rectangle, int, int, int, int, GraphicsUnit, System.Drawing.Imaging.ImageAttributes)

Draws the specified portion of the specified System.Drawing.Image at the specified location and with the specified size.

DrawImage(Image, Rectangle, float, float, float, float, GraphicsUnit, System.Drawing.Imaging.ImageAttributes)

Draws the specified portion of the specified System.Drawing.Image at the specified location and with the specified size.

DrawImage(Image, Rectangle, int, int, int, int, GraphicsUnit, System.Drawing.Imaging.ImageAttributes, Graphics.DrawImageAbort)
Documentation for this section has not yet been entered.
DrawImage(Image, Rectangle, float, float, float, float, GraphicsUnit, System.Drawing.Imaging.ImageAttributes, Graphics.DrawImageAbort)
Documentation for this section has not yet been entered.
DrawImageUnscaled(Image, Point)

Draws a specified image using its original physical size at a specified location.

DrawImageUnscaled(Image, Rectangle)

Draws a specified image using its original physical size at a specified location.

DrawImageUnscaled(Image, int, int)

Draws the specified image using its original physical size at the location specified by a coordinate pair.

DrawImageUnscaled(Image, int, int, int, int)

Draws a specified image using its original physical size at a specified location.

DrawImageUnscaledAndClipped(Image, Rectangle)

Draws the specified image without scaling and clips it, if necessary, to fit in the specified rectangle.

DrawLine(Pen, Point, Point)

Draws a line connecting two System.Drawing.Point structures.

DrawLine(Pen, PointF, PointF)

Draws a line connecting two System.Drawing.PointF structures.

DrawLine(Pen, int, int, int, int)

Draws a line connecting the two points specified by the coordinate pairs.

DrawLine(Pen, float, float, float, float)

Draws a line connecting the two points specified by the coordinate pairs.

DrawLines(Pen, Point[])

Draws a series of line segments that connect an array of System.Drawing.Point structures.

DrawLines(Pen, PointF[])

Draws a series of line segments that connect an array of System.Drawing.PointF structures.

DrawPath(Pen, System.Drawing.Drawing2D.GraphicsPath)

Draws a System.Drawing.Drawing2D.GraphicsPath.

DrawPie(Pen, Rectangle, float, float)

Draws a pie shape defined by an ellipse specified by a System.Drawing.Rectangle structure and two radial lines.

DrawPie(Pen, RectangleF, float, float)

Draws a pie shape defined by an ellipse specified by a System.Drawing.RectangleF structure and two radial lines.

DrawPie(Pen, int, int, int, int, int, int)

Draws a pie shape defined by an ellipse specified by a coordinate pair, a width, a height, and two radial lines.

DrawPie(Pen, float, float, float, float, float, float)

Draws a pie shape defined by an ellipse specified by a coordinate pair, a width, a height, and two radial lines.

DrawPolygon(Pen, Point[])

Draws a polygon defined by an array of System.Drawing.Point structures.

DrawPolygon(Pen, PointF[])

Draws a polygon defined by an array of System.Drawing.PointF structures.

DrawRectangle(Pen, Rectangle)

Draws a rectangle specified by a System.Drawing.Rectangle structure.

DrawRectangle(Pen, int, int, int, int)

Draws a rectangle specified by a coordinate pair, a width, and a height.

DrawRectangle(Pen, float, float, float, float)

Draws a rectangle specified by a coordinate pair, a width, and a height.

DrawRectangles(Pen, Rectangle[])

Draws a series of rectangles specified by System.Drawing.Rectangle structures.

DrawRectangles(Pen, RectangleF[])

Draws a series of rectangles specified by System.Drawing.RectangleF structures.

DrawString(string, Font, Brush, PointF)

Draws the specified text string at the specified location with the specified System.Drawing.Brush and System.Drawing.Font objects.

DrawString(string, Font, Brush, RectangleF)

Draws the specified text string in the specified rectangle with the specified System.Drawing.Brush and System.Drawing.Font objects.

DrawString(string, Font, Brush, PointF, StringFormat)

Draws the specified text string at the specified location with the specified System.Drawing.Brush and System.Drawing.Font objects using the formatting attributes of the specified System.Drawing.StringFormat.

DrawString(string, Font, Brush, RectangleF, StringFormat)

Draws the specified text string in the specified rectangle with the specified System.Drawing.Brush and System.Drawing.Font objects using the formatting attributes of the specified System.Drawing.StringFormat.

DrawString(string, Font, Brush, float, float)

Draws the specified text string at the specified location with the specified System.Drawing.Brush and System.Drawing.Font objects.

DrawString(string, Font, Brush, float, float, StringFormat)

Draws the specified text string at the specified location with the specified System.Drawing.Brush and System.Drawing.Font objects using the formatting attributes of the specified System.Drawing.StringFormat.

EndContainer(System.Drawing.Drawing2D.GraphicsContainer)

Closes the current graphics container and restores the state of this System.Drawing.Graphics to the state saved by a call to the Graphics.BeginContainer method.

EnumerateMetafile(System.Drawing.Imaging.Metafile, Point, Graphics.EnumerateMetafileProc)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, Point[], Graphics.EnumerateMetafileProc)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, PointF, Graphics.EnumerateMetafileProc)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, PointF[], Graphics.EnumerateMetafileProc)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, Rectangle, Graphics.EnumerateMetafileProc)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, RectangleF, Graphics.EnumerateMetafileProc)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, Point, Graphics.EnumerateMetafileProc, IntPtr)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, Point[], Graphics.EnumerateMetafileProc, IntPtr)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, PointF, Graphics.EnumerateMetafileProc, IntPtr)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, PointF[], Graphics.EnumerateMetafileProc, IntPtr)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, Rectangle, Graphics.EnumerateMetafileProc, IntPtr)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, RectangleF, Graphics.EnumerateMetafileProc, IntPtr)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, Point, Graphics.EnumerateMetafileProc, IntPtr, System.Drawing.Imaging.ImageAttributes)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, Point, Rectangle, GraphicsUnit, Graphics.EnumerateMetafileProc)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, Point[], Graphics.EnumerateMetafileProc, IntPtr, System.Drawing.Imaging.ImageAttributes)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, Point[], Rectangle, GraphicsUnit, Graphics.EnumerateMetafileProc)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, PointF, Graphics.EnumerateMetafileProc, IntPtr, System.Drawing.Imaging.ImageAttributes)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, PointF, RectangleF, GraphicsUnit, Graphics.EnumerateMetafileProc)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, PointF[], Graphics.EnumerateMetafileProc, IntPtr, System.Drawing.Imaging.ImageAttributes)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, PointF[], RectangleF, GraphicsUnit, Graphics.EnumerateMetafileProc)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, Rectangle, Graphics.EnumerateMetafileProc, IntPtr, System.Drawing.Imaging.ImageAttributes)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, Rectangle, Rectangle, GraphicsUnit, Graphics.EnumerateMetafileProc)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, RectangleF, Graphics.EnumerateMetafileProc, IntPtr, System.Drawing.Imaging.ImageAttributes)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, RectangleF, RectangleF, GraphicsUnit, Graphics.EnumerateMetafileProc)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, Point, Rectangle, GraphicsUnit, Graphics.EnumerateMetafileProc, IntPtr)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, Point[], Rectangle, GraphicsUnit, Graphics.EnumerateMetafileProc, IntPtr)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, PointF, RectangleF, GraphicsUnit, Graphics.EnumerateMetafileProc, IntPtr)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, PointF[], RectangleF, GraphicsUnit, Graphics.EnumerateMetafileProc, IntPtr)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, Rectangle, Rectangle, GraphicsUnit, Graphics.EnumerateMetafileProc, IntPtr)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, RectangleF, RectangleF, GraphicsUnit, Graphics.EnumerateMetafileProc, IntPtr)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, Point, Rectangle, GraphicsUnit, Graphics.EnumerateMetafileProc, IntPtr, System.Drawing.Imaging.ImageAttributes)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, Point[], Rectangle, GraphicsUnit, Graphics.EnumerateMetafileProc, IntPtr, System.Drawing.Imaging.ImageAttributes)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, PointF, RectangleF, GraphicsUnit, Graphics.EnumerateMetafileProc, IntPtr, System.Drawing.Imaging.ImageAttributes)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, PointF[], RectangleF, GraphicsUnit, Graphics.EnumerateMetafileProc, IntPtr, System.Drawing.Imaging.ImageAttributes)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, Rectangle, Rectangle, GraphicsUnit, Graphics.EnumerateMetafileProc, IntPtr, System.Drawing.Imaging.ImageAttributes)
Documentation for this section has not yet been entered.
EnumerateMetafile(System.Drawing.Imaging.Metafile, RectangleF, RectangleF, GraphicsUnit, Graphics.EnumerateMetafileProc, IntPtr, System.Drawing.Imaging.ImageAttributes)
Documentation for this section has not yet been entered.
ExcludeClip(Rectangle)

Updates the clip region of this System.Drawing.Graphics to exclude the area specified by a System.Drawing.Rectangle structure.

ExcludeClip(Region)

Updates the clip region of this System.Drawing.Graphics to exclude the area specified by a System.Drawing.Region.

FillClosedCurve(Brush, Point[])

Fills the interior of a closed cardinal spline curve defined by an array of System.Drawing.Point structures.

FillClosedCurve(Brush, PointF[])

Fills the interior of a closed cardinal spline curve defined by an array of System.Drawing.PointF structures.

FillClosedCurve(Brush, Point[], System.Drawing.Drawing2D.FillMode)

Fills the interior of a closed cardinal spline curve defined by an array of System.Drawing.Point structures using the specified fill mode.

FillClosedCurve(Brush, PointF[], System.Drawing.Drawing2D.FillMode)

Fills the interior of a closed cardinal spline curve defined by an array of System.Drawing.PointF structures using the specified fill mode.

FillClosedCurve(Brush, Point[], System.Drawing.Drawing2D.FillMode, float)

Fills the interior of a closed cardinal spline curve defined by an array of System.Drawing.Point structures using the specified fill mode and tension.

FillClosedCurve(Brush, PointF[], System.Drawing.Drawing2D.FillMode, float)

Fills the interior of a closed cardinal spline curve defined by an array of System.Drawing.PointF structures using the specified fill mode and tension.

FillEllipse(Brush, Rectangle)

Fills the interior of an ellipse defined by a bounding rectangle specified by a System.Drawing.Rectangle structure.

FillEllipse(Brush, RectangleF)

Fills the interior of an ellipse defined by a bounding rectangle specified by a System.Drawing.RectangleF structure.

FillEllipse(Brush, int, int, int, int)

Fills the interior of an ellipse defined by a bounding rectangle specified by a pair of coordinates, a width, and a height.

FillEllipse(Brush, float, float, float, float)

Fills the interior of an ellipse defined by a bounding rectangle specified by a pair of coordinates, a width, and a height.

FillPath(Brush, System.Drawing.Drawing2D.GraphicsPath)

Fills the interior of a System.Drawing.Drawing2D.GraphicsPath.

FillPie(Brush, Rectangle, float, float)

Fills the interior of a pie section defined by an ellipse specified by a System.Drawing.RectangleF structure and two radial lines.

FillPie(Brush, int, int, int, int, int, int)

Fills the interior of a pie section defined by an ellipse specified by a pair of coordinates, a width, a height, and two radial lines.

FillPie(Brush, float, float, float, float, float, float)

Fills the interior of a pie section defined by an ellipse specified by a pair of coordinates, a width, a height, and two radial lines.

FillPolygon(Brush, Point[])

Fills the interior of a polygon defined by an array of points specified by System.Drawing.Point structures.

FillPolygon(Brush, PointF[])

Fills the interior of a polygon defined by an array of points specified by System.Drawing.PointF structures.

FillPolygon(Brush, Point[], System.Drawing.Drawing2D.FillMode)

Fills the interior of a polygon defined by an array of points specified by System.Drawing.Point structures using the specified fill mode.

FillPolygon(Brush, PointF[], System.Drawing.Drawing2D.FillMode)

Fills the interior of a polygon defined by an array of points specified by System.Drawing.PointF structures using the specified fill mode.

FillRectangle(Brush, Rectangle)

Fills the interior of a rectangle specified by a System.Drawing.Rectangle structure.

FillRectangle(Brush, RectangleF)

Fills the interior of a rectangle specified by a System.Drawing.RectangleF structure.

FillRectangle(Brush, int, int, int, int)

Fills the interior of a rectangle specified by a pair of coordinates, a width, and a height.

FillRectangle(Brush, float, float, float, float)

Fills the interior of a rectangle specified by a pair of coordinates, a width, and a height.

FillRectangles(Brush, Rectangle[])

Fills the interiors of a series of rectangles specified by System.Drawing.Rectangle structures.

FillRectangles(Brush, RectangleF[])

Fills the interiors of a series of rectangles specified by System.Drawing.RectangleF structures.

FillRegion(Brush, Region)

Fills the interior of a System.Drawing.Region.

Finalize()
Documentation for this section has not yet been entered.
Flush()

Forces execution of all pending graphics operations and returns immediately without waiting for the operations to finish.

Flush(System.Drawing.Drawing2D.FlushIntention)

Forces execution of all pending graphics operations with the method waiting or not waiting, as specified, to return before the operations finish.

static
FromHdc(IntPtr) : Graphics

Creates a new System.Drawing.Graphics from the specified handle to a device context.

static
FromHdc(IntPtr, IntPtr) : Graphics

Creates a new System.Drawing.Graphics from the specified handle to a device context and handle to a device.

static
FromHdcInternal(IntPtr) : Graphics

Returns a System.Drawing.Graphics for the specified device context.

static
FromHwnd(IntPtr) : Graphics

Creates a new System.Drawing.Graphics from the specified handle to a window.

static
FromHwndInternal(IntPtr) : Graphics

Creates a new System.Drawing.Graphics for the specified windows handle.

static
FromImage(Image) : Graphics

Creates a new System.Drawing.Graphics from the specified System.Drawing.Image.

GetContextInfo() : object

Gets the cumulative graphics context.

static
GetHalftonePalette() : IntPtr

Gets a handle to the current Windows halftone palette.

GetHdc() : IntPtr

Gets the handle to the device context associated with this System.Drawing.Graphics.

GetNearestColor(Color) : Color

Gets the nearest color to the specified System.Drawing.Color structure.

IntersectClip(Rectangle)

Updates the clip region of this System.Drawing.Graphics to the intersection of the current clip region and the specified System.Drawing.Rectangle structure.

IntersectClip(RectangleF)

Updates the clip region of this System.Drawing.Graphics to the intersection of the current clip region and the specified System.Drawing.RectangleF structure.

IntersectClip(Region)

Updates the clip region of this System.Drawing.Graphics to the intersection of the current clip region and the specified System.Drawing.Region.

IsVisible(Point) : bool

Indicates whether the specified System.Drawing.Point structure is contained within the visible clip region of this System.Drawing.Graphics.

IsVisible(PointF) : bool

Indicates whether the specified System.Drawing.PointF structure is contained within the visible clip region of this System.Drawing.Graphics.

IsVisible(Rectangle) : bool

Indicates whether the rectangle specified by a System.Drawing.Rectangle structure is contained within the visible clip region of this System.Drawing.Graphics.

IsVisible(RectangleF) : bool

Indicates whether the rectangle specified by a System.Drawing.RectangleF structure is contained within the visible clip region of this System.Drawing.Graphics.

IsVisible(int, int) : bool

Indicates whether the point specified by a pair of coordinates is contained within the visible clip region of this System.Drawing.Graphics.

IsVisible(float, float) : bool

Indicates whether the point specified by a pair of coordinates is contained within the visible clip region of this System.Drawing.Graphics.

IsVisible(int, int, int, int) : bool

Indicates whether the rectangle specified by a pair of coordinates, a width, and a height is contained within the visible clip region of this System.Drawing.Graphics.

IsVisible(float, float, float, float) : bool

Indicates whether the rectangle specified by a pair of coordinates, a width, and a height is contained within the visible clip region of this System.Drawing.Graphics.

MeasureCharacterRanges(string, Font, RectangleF, StringFormat) : Region[]

Gets an array of System.Drawing.Region objects, each of which bounds a range of character positions within the specified string.

MeasureString(string, Font) : SizeF

Measures the specified string when drawn with the specified System.Drawing.Font.

MeasureString(string, Font, SizeF) : SizeF

Measures the specified string when drawn with the specified System.Drawing.Font within the specified layout area.

MeasureString(string, Font, int) : SizeF

Measures the specified string when drawn with the specified System.Drawing.Font.

MeasureString(string, Font, PointF, StringFormat) : SizeF

Measures the specified string when drawn with the specified System.Drawing.Font and formatted with the specified System.Drawing.StringFormat.

MeasureString(string, Font, SizeF, StringFormat) : SizeF

Measures the specified string when drawn with the specified System.Drawing.Font and formatted with the specified System.Drawing.StringFormat.

MeasureString(string, Font, int, StringFormat) : SizeF

Measures the specified string when drawn with the specified System.Drawing.Font and formatted with the specified System.Drawing.StringFormat.

MeasureString(string, Font, SizeF, StringFormat, out int, out int) : SizeF
Documentation for this section has not yet been entered.
MultiplyTransform(System.Drawing.Drawing2D.Matrix)

Multiplies the world transformation of this System.Drawing.Graphics and specified the System.Drawing.Drawing2D.Matrix.

MultiplyTransform(System.Drawing.Drawing2D.Matrix, System.Drawing.Drawing2D.MatrixOrder)

Multiplies the world transformation of this System.Drawing.Graphics and specified the System.Drawing.Drawing2D.Matrix in the specified order.

ReleaseHdc()

Releases a device context handle obtained by a previous call to the Graphics.GetHdc method of this System.Drawing.Graphics.

ReleaseHdc(IntPtr)

Releases a device context handle obtained by a previous call to the Graphics.GetHdc method of this System.Drawing.Graphics.

ReleaseHdcInternal(IntPtr)

Releases a handle to a device context.

ResetClip()

Resets the clip region of this System.Drawing.Graphics to an infinite region.

ResetTransform()

Resets the world transformation matrix of this System.Drawing.Graphics to the identity matrix.

Restore(System.Drawing.Drawing2D.GraphicsState)

Restores the state of this System.Drawing.Graphics to the state represented by a System.Drawing.Drawing2D.GraphicsState.

RotateTransform(float)

Applies the specified rotation to the transformation matrix of this System.Drawing.Graphics.

RotateTransform(float, System.Drawing.Drawing2D.MatrixOrder)

Applies the specified rotation to the transformation matrix of this System.Drawing.Graphics in the specified order.

Save() : System.Drawing.Drawing2D.GraphicsState

Saves the current state of this System.Drawing.Graphics and identifies the saved state with a System.Drawing.Drawing2D.GraphicsState.

ScaleTransform(float, float)

Applies the specified scaling operation to the transformation matrix of this System.Drawing.Graphics by prepending it to the object's transformation matrix.

ScaleTransform(float, float, System.Drawing.Drawing2D.MatrixOrder)

Applies the specified scaling operation to the transformation matrix of this System.Drawing.Graphics in the specified order.

SetClip(System.Drawing.Drawing2D.GraphicsPath)

Sets the clipping region of this System.Drawing.Graphics to the specified System.Drawing.Drawing2D.GraphicsPath.

SetClip(Graphics)

Sets the clipping region of this System.Drawing.Graphics to the Clip property of the specified System.Drawing.Graphics.

SetClip(Rectangle)

Sets the clipping region of this System.Drawing.Graphics to the rectangle specified by a System.Drawing.Rectangle structure.

SetClip(RectangleF)

Sets the clipping region of this System.Drawing.Graphics to the rectangle specified by a System.Drawing.RectangleF structure.

SetClip(System.Drawing.Drawing2D.GraphicsPath, System.Drawing.Drawing2D.CombineMode)

Sets the clipping region of this System.Drawing.Graphics to the result of the specified operation combining the current clip region and the specified System.Drawing.Drawing2D.GraphicsPath.

SetClip(Graphics, System.Drawing.Drawing2D.CombineMode)

Sets the clipping region of this System.Drawing.Graphics to the result of the specified combining operation of the current clip region and the Graphics.Clip property of the specified System.Drawing.Graphics.

SetClip(Rectangle, System.Drawing.Drawing2D.CombineMode)

Sets the clipping region of this System.Drawing.Graphics to the result of the specified operation combining the current clip region and the rectangle specified by a System.Drawing.Rectangle structure.

SetClip(RectangleF, System.Drawing.Drawing2D.CombineMode)

Sets the clipping region of this System.Drawing.Graphics to the result of the specified operation combining the current clip region and the rectangle specified by a System.Drawing.RectangleF structure.

SetClip(Region, System.Drawing.Drawing2D.CombineMode)

Sets the clipping region of this System.Drawing.Graphics to the result of the specified operation combining the current clip region and the specified System.Drawing.Region.

TransformPoints(System.Drawing.Drawing2D.CoordinateSpace, System.Drawing.Drawing2D.CoordinateSpace, Point[])

Transforms an array of points from one coordinate space to another using the current world and page transformations of this System.Drawing.Graphics.

TransformPoints(System.Drawing.Drawing2D.CoordinateSpace, System.Drawing.Drawing2D.CoordinateSpace, PointF[])

Transforms an array of points from one coordinate space to another using the current world and page transformations of this System.Drawing.Graphics.

TranslateClip(int, int)

Translates the clipping region of this System.Drawing.Graphics by specified amounts in the horizontal and vertical directions.

TranslateClip(float, float)

Translates the clipping region of this System.Drawing.Graphics by specified amounts in the horizontal and vertical directions.

TranslateTransform(float, float)

Changes the origin of the coordinate system by prepending the specified translation to the transformation matrix of this System.Drawing.Graphics.

TranslateTransform(float, float, System.Drawing.Drawing2D.MatrixOrder)

Changes the origin of the coordinate system by applying the specified translation to the transformation matrix of this System.Drawing.Graphics in the specified order.