Export (0) Print
Expand All

GraphicsPath Members

Represents a series of connected lines and curves. This class cannot be inherited.

The following tables list the members exposed by the GraphicsPath type.

  Name Description
Public method GraphicsPath Overloaded. Initializes a new instance of the GraphicsPath class with a FillMode enumeration of Alternate.
Top

  Name Description
Public property FillMode Gets or sets a FillMode enumeration that determines how the interiors of shapes in this GraphicsPath are filled.
Public property PathData Gets a PathData that encapsulates arrays of points (points) and types (types) for this GraphicsPath.
Public property PathPoints Gets the points in the path.
Public property PathTypes Gets the types of the corresponding points in the PathPoints array.
Public property PointCount Gets the number of elements in the PathPoints or the PathTypes array.
Top

(see also Protected Methods )
  Name Description
Public method AddArc Overloaded. Appends an elliptical arc to the current figure.
Public method AddBezier Overloaded. Adds a cubic Bézier curve to the current figure.
Public method AddBeziers Overloaded. Adds a sequence of connected cubic Bézier curves to the current figure.
Public method 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.
Public method 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.
Public method AddEllipse Overloaded. Adds an ellipse to the current path.
Public method AddLine Overloaded. Appends a line segment to this GraphicsPath.
Public method AddLines Overloaded. Appends a series of connected line segments to the end of this GraphicsPath.
Public method AddPath Appends the specified GraphicsPath to this path.
Public method AddPie Overloaded. Adds the outline of a pie shape to this path.
Public method AddPolygon Overloaded. Adds a polygon to this path.
Public method AddRectangle Overloaded. Adds a rectangle to this path.
Public method AddRectangles Overloaded. Adds a series of rectangles to this path.
Public method AddString Overloaded. Adds a text string to this path.
Public method ClearMarkers Clears all markers from this path.
Public method Clone Creates an exact copy of this path.
Public method 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.
Public method 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.
Public method 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)
Public method Dispose Releases all resources used by this GraphicsPath.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Flatten Overloaded. Converts each curve in this path into a sequence of connected line segments.
Public method GetBounds Overloaded. Returns a rectangle that bounds this GraphicsPath.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetLastPoint Gets the last point in the PathPoints array of this GraphicsPath.
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method IsOutlineVisible Overloaded. Indicates whether the specified point is contained within (under) the outline of this GraphicsPath when drawn with the specified Pen.
Public method IsVisible Overloaded. Indicates whether the specified point is contained within this GraphicsPath.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Reset Empties the PathPoints and PathTypes arrays and sets the FillMode to Alternate.
Public method Reverse Reverses the order of points in the PathPoints array of this GraphicsPath.
Public method SetMarkers Sets a marker on this GraphicsPath.
Public method StartFigure Starts a new figure without closing the current figure. All subsequent points added to the path are added to this new figure.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Public method Transform Applies a transform matrix to this GraphicsPath.
Public method Warp Overloaded. Applies a warp transform, defined by a rectangle and a parallelogram, to this GraphicsPath.
Public method Widen Overloaded. Replaces this path with curves that enclose the area that is filled when this path is drawn by the specified pen.
Top

  Name Description
Protected method 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)
Protected method MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Top

Community Additions

ADD
Show:
© 2014 Microsoft