Graphics Methods
.NET Framework 2.0
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| AddMetafileComment | Adds a comment to the current Metafile. |
| BeginContainer | Overloaded. Saves a graphics container with the current state of this Graphics and opens and uses a new graphics container. |
| Clear | Clears the entire drawing surface and fills it with the specified background color. |
| CopyFromScreen | Overloaded. Performs a bit-block transfer of color data from the screen to the drawing surface of the Graphics. |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (inherited from MarshalByRefObject) |
| Dispose | Releases all resources used by this Graphics. |
| DrawArc | Overloaded. Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height. |
| DrawBezier | Overloaded. Draws a Bézier spline defined by four Point structures. |
| DrawBeziers | Overloaded. Draws a series of Bézier splines from an array of Point structures. |
| DrawClosedCurve | Overloaded. Draws a closed cardinal spline defined by an array of Point structures. |
| DrawCurve | Overloaded. Draws a cardinal spline through a specified array of Point structures. |
| DrawEllipse | Overloaded. Draws an ellipse defined by a bounding rectangle specified by a pair of coordinates, a height, and a width. |
| DrawIcon | Overloaded. Draws the image represented by the specified Icon at the specified coordinates. |
| DrawIconUnstretched | Draws the image represented by the specified Icon without scaling the image. |
| DrawImage | Overloaded. Draws the specified Image at the specified location and with the original size. |
| DrawImageUnscaled | Overloaded. Draws the specified image using its original physical size at the location specified by a coordinate pair. |
| DrawImageUnscaledAndClipped | Draws the specified image without scaling and clips it, if necessary, to fit in the specified rectangle. |
| DrawLine | Overloaded. Draws a line connecting the two points specified by the coordinate pairs. |
| DrawLines | Overloaded. Draws a series of line segments that connect an array of Point structures. |
| DrawPath | Draws a GraphicsPath. |
| DrawPie | Overloaded. Draws a pie shape defined by an ellipse specified by a coordinate pair, a width, a height, and two radial lines. |
| DrawPolygon | Overloaded. Draws a polygon defined by an array of Point structures. |
| DrawRectangle | Overloaded. Draws a rectangle specified by a coordinate pair, a width, and a height. |
| DrawRectangles | Overloaded. Draws a series of rectangles specified by Rectangle structures. |
| DrawString | Overloaded. Draws the specified text string at the specified location with the specified Brush and Font objects. |
| EndContainer | Closes the current graphics container and restores the state of this Graphics to the state saved by a call to the BeginContainer method. |
| EnumerateMetafile | Overloaded. Sends the records in the specified Metafile, one at a time, to a callback method for display at a specified point. |
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| ExcludeClip | Overloaded. Updates the clip region of this Graphics to exclude the area specified by a Rectangle structure. |
| FillClosedCurve | Overloaded. Fills the interior of a closed cardinal spline curve defined by an array of Point structures. |
| FillEllipse | Overloaded. Fills the interior of an ellipse defined by a bounding rectangle specified by a pair of coordinates, a width, and a height. |
| FillPath | Fills the interior of a GraphicsPath. |
| FillPie | Overloaded. 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 | Overloaded. Fills the interior of a polygon defined by an array of points specified by Point structures. |
| FillRectangle | Overloaded. Fills the interior of a rectangle specified by a pair of coordinates, a width, and a height. |
| FillRectangles | Overloaded. Fills the interiors of a series of rectangles specified by Rectangle structures. |
| FillRegion | Fills the interior of a Region. |
| Flush | Overloaded. Forces execution of all pending graphics operations and returns immediately without waiting for the operations to finish. |
| FromHdc | Overloaded. Creates a new Graphics from the specified handle to a device context. |
| FromHdcInternal | Returns a Graphics for the specified device context. |
| FromHow | Creates a graphics object. |
| FromHwnd | Creates a new Graphics from the specified handle to a window. |
| FromHwndInternal | Creates a new Graphics for the specified windows handle. |
| FromImage | Creates a new Graphics from the specified Image. |
| GetContextInfo | |
| GetHalftonePalette | Gets a handle to the current Windows halftone palette. |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetHdc | Gets the handle to the device context associated with this Graphics. |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject) |
| GetNearestColor | Gets the nearest color to the specified Color structure. |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject) |
| IntersectClip | Overloaded. Updates the clip region of this Graphics to the intersection of the current clip region and the specified Rectangle structure. |
| IsVisible | Overloaded. Indicates whether the point specified by a pair of coordinates is contained within the visible clip region of this Graphics. |
| MeasureCharacterRanges | Gets an array of Region objects, each of which bounds a range of character positions within the specified string. |
| MeasureString | Overloaded. Measures the specified string when drawn with the specified Font. |
| MultiplyTransform | Overloaded. Multiplies the world transformation of this Graphics and specified the Matrix. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| ReleaseHdc | Overloaded. Releases a device context handle obtained by a previous call to the GetHdc method of this Graphics. |
| ReleaseHdcInternal | Releases a handle to a device context. |
| ResetClip | Resets the clip region of this Graphics to an infinite region. |
| ResetTransform | Resets the world transformation matrix of this Graphics to the identity matrix. |
| Restore | Restores the state of this Graphics to the state represented by a GraphicsState. |
| RotateTransform | Overloaded. Applies the specified rotation to the transformation matrix of this Graphics. |
| Save | Saves the current state of this Graphics and identifies the saved state with a GraphicsState. |
| ScaleTransform | Overloaded. Applies the specified scaling operation to the transformation matrix of this Graphics by prepending it to the object's transformation matrix. |
| SetClip | Overloaded. Sets the clipping region of this Graphics to the Clip property of the specified Graphics. |
| ToString | Returns a String that represents the current Object. (inherited from Object) |
| TransformPoints | Overloaded. Transforms an array of points from one coordinate space to another using the current world and page transformations of this Graphics. |
| TranslateClip | Overloaded. Translates the clipping region of this Graphics by specified amounts in the horizontal and vertical directions. |
| TranslateTransform | Overloaded. Changes the origin of the coordinate system by prepending the specified translation to the transformation matrix of this Graphics. |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) |
| MemberwiseClone | Overloaded. (inherited from MarshalByRefObject) |
Community Additions
ADD
Show: