Graphics Methods

The Graphics type exposes the following members.

Methods

Name Description
Public method Clear

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

Public method CreateFont Overloaded.

Returns the Font instance with the given parameters if such font is presented in this Graphics.FontRegistry.

Public method Dispose

Releases all resources used by this Graphics.

Public method DrawBezier Overloaded.

Draws a Bezier spline.

Public method DrawBeziers

Draws a sequence of Bezier curves defined by an array of PointF structures.

Public method DrawContainer

Draws the specified GraphicsContainer at the location specified by the coordinate pair.

Public method DrawEllipse Overloaded.

Draws an ellipse.

Public method DrawEllipses

Draws a number of ellipses defined by an array of RectangleF structures representing bounding boxes.

Public method DrawImage Overloaded.

Draws the specified image on the Graphics.

Public method DrawLine Overloaded.

Draws a line connecting the two points.

Public method DrawLines

Draws a series of line segments that connect number of points defined by an array of PointF structures.

Public method DrawPath

Draws a path defined by a Path instance.

Public method DrawPolygon

Draws a polygon defined by an array of PointF structures.

Public method DrawRectangle Overloaded.

Draws a rectangle.

Public method DrawRectangles

Draws a number of rectangles specified by an array of RectangleF structures.

Public method DrawText

Draws a text.

Public method Equals (Inherited from Object.)
Public method FillBezier Overloaded.

Fills the interior of a Bezier curve.

Public method FillBeziers

Fills the interior of a sequence of Bezier curves defined by an array of PointF structures.

Public method FillEllipse Overloaded.

Fills the interior of an ellipse defined by a bounding rectangle.

Public method FillEllipses

Fills the interior of a number of ellipses defined by an array of RectangleF structures representing bounding boxes.

Public method FillPath

Draws a path defined by a Path instance.

Public method FillPolygon

Fills the interior of a polygon defined by an array of PointF structures.

Public method FillRectangle Overloaded.

Fills the interior of a rectangle.

Public method FillRectangles

Fills the interior of a number of rectangles specified by an array of RectangleF structures.

Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

See Also

Reference