GraphicsPath Methods
.NET Framework 1.1
The methods of the GraphicsPath class are listed here. For a complete list of GraphicsPath class members, see the GraphicsPath Members topic.
Public Methods
AddArc | Overloaded. Appends an elliptical arc to the current figure. |
AddBezier | Overloaded. Adds a cubic Bzier curve to the current figure. |
AddBeziers | Overloaded. Adds a sequence of connected cubic Bzier curves to the current figure. |
AddClosedCurve | Overloaded. Adds a closed curve to this path. A cardinal spline curve is used because the curve travels through each of the points in the array. |
AddCurve | Overloaded. Adds a spline curve to the current figure. A cardinal spline curve is used because the curve travels through each of the points in the array. |
AddEllipse | Overloaded. Adds an ellipse to the current path. |
AddLine | Overloaded. Appends a line segment to this GraphicsPath object. |
AddLines | Overloaded. Appends a series of connected line segments to the end of this GraphicsPath object. |
AddPath | Appends the specified GraphicsPath object to this path. |
AddPie | Overloaded. Adds the outline of a pie shape to this path. |
AddPolygon | Overloaded. Adds a polygon to this path. |
AddRectangle | Overloaded. Adds a rectangle to this path. |
AddRectangles | Overloaded. Adds a series of rectangles to this path. |
AddString | Overloaded. Adds a text string to this path. |
ClearMarkers | Clears all markers from this path. |
Clone | Creates an exact copy of this path. |
CloseAllFigures | Closes all open figures in this path and starts a new figure. It closes each open figure by connecting a line from its endpoint to its starting point. |
CloseFigure | Closes the current figure and starts a new figure. If the current figure contains a sequence of connected lines and curves, the method closes the loop by connecting a line from the endpoint to the starting point. |
CreateObjRef (inherited from MarshalByRefObject) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. |
Dispose | Releases all resources used by this GraphicsPath object. |
Equals (inherited from Object) | Overloaded. Determines whether two Object instances are equal. |
Flatten | Overloaded. Converts each curve in this path into a sequence of connected line segments. |
GetBounds | Overloaded. Returns a rectangle that bounds this GraphicsPath object. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetLastPoint | Gets the last point in the PathPoints array of this GraphicsPath object. |
GetLifetimeService (inherited from MarshalByRefObject) | Retrieves the current lifetime service object that controls the lifetime policy for this instance. |
GetType (inherited from Object) | Gets the Type of the current instance. |
InitializeLifetimeService (inherited from MarshalByRefObject) | Obtains a lifetime service object to control the lifetime policy for this instance. |
IsOutlineVisible | Overloaded. Indicates whether the specified point is contained within (under) the outline of this GraphicsPath object when drawn with the specified Pen object. |
IsVisible | Overloaded. Indicates whether the specified point is contained within this GraphicsPath object. |
Reset | Empties the PathPoints and PathTypes arrays and sets the FillMode to Alternate. |
Reverse | Reverses the order of points in the PathPoints array of this GraphicsPath object. |
SetMarkers | Sets a marker on this GraphicsPath object. |
StartFigure | Starts a new figure without closing the current figure. All subsequent points added to the path are added to this new figure. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Transform | Applies a transform matrix to this GraphicsPath object. |
Warp | Overloaded. Applies a warp transform, defined by a rectangle and a parallelogram, to this GraphicsPath object. |
Widen | Overloaded. Replaces this path with curves that enclose the area that is filled when this path is drawn by the specified pen. |
Protected Methods
Finalize | Overridden. See Object.Finalize.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |

