Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

GraphicsPath Methods

The methods of the GraphicsPath class are listed here. For a complete list of GraphicsPath class members, see the GraphicsPath Members topic.

Public Methods

public methodAddArc Overloaded. Appends an elliptical arc to the current figure.
public methodAddBezier Overloaded. Adds a cubic Bzier curve to the current figure.
public methodAddBeziers Overloaded. Adds a sequence of connected cubic Bzier curves to the current figure.
public methodAddClosedCurve 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.
public methodAddCurve 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.
public methodAddEllipse Overloaded. Adds an ellipse to the current path.
public methodAddLine Overloaded. Appends a line segment to this GraphicsPath object.
public methodAddLines Overloaded. Appends a series of connected line segments to the end of this GraphicsPath object.
public methodAddPath Appends the specified GraphicsPath object to this path.
public methodAddPie Overloaded. Adds the outline of a pie shape to this path.
public methodAddPolygon Overloaded. Adds a polygon to this path.
public methodAddRectangle Overloaded. Adds a rectangle to this path.
public methodAddRectangles Overloaded. Adds a series of rectangles to this path.
public methodAddString Overloaded. Adds a text string to this path.
public methodClearMarkers Clears all markers from this path.
public methodClone Creates an exact copy of this path.
public methodCloseAllFigures 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.
public methodCloseFigure 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.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodDispose Releases all resources used by this GraphicsPath object.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodFlatten Overloaded. Converts each curve in this path into a sequence of connected line segments.
public methodGetBounds Overloaded. Returns a rectangle that bounds this GraphicsPath object.
public methodGetHashCode (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.
public methodGetLastPoint Gets the last point in the PathPoints array of this GraphicsPath object.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodIsOutlineVisible Overloaded. Indicates whether the specified point is contained within (under) the outline of this GraphicsPath object when drawn with the specified Pen object.
public methodIsVisible Overloaded. Indicates whether the specified point is contained within this GraphicsPath object.
public methodReset Empties the PathPoints and PathTypes arrays and sets the FillMode to Alternate.
public methodReverse Reverses the order of points in the PathPoints array of this GraphicsPath object.
public methodSetMarkers Sets a marker on this GraphicsPath object.
public methodStartFigure Starts a new figure without closing the current figure. All subsequent points added to the path are added to this new figure.
public methodToString (inherited from Object) Returns a String that represents the current Object.
public methodTransform Applies a transform matrix to this GraphicsPath object.
public methodWarp Overloaded. Applies a warp transform, defined by a rectangle and a parallelogram, to this GraphicsPath object.
public methodWiden Overloaded. Replaces this path with curves that enclose the area that is filled when this path is drawn by the specified pen.

Protected Methods

protected methodFinalize Overridden. See Object.Finalize.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

GraphicsPath Class | System.Drawing.Drawing2D Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.