System.Drawing.Drawing2D.GraphicsPath: Method Members

The methods of System.Drawing.Drawing2D.GraphicsPath are listed below. For a list of all members, see the GraphicsPath Members list.

See Also: Inherited members from System.MarshalByRefObject

Public Methods

AddArc(System.Drawing.Rectangle, float, float)

Appends an elliptical arc to the current figure.

AddArc(System.Drawing.RectangleF, float, float)

Appends an elliptical arc to the current figure.

AddArc(int, int, int, int, float, float)

Appends an elliptical arc to the current figure.

AddArc(float, float, float, float, float, float)

Appends an elliptical arc to the current figure.

AddBezier(System.Drawing.Point, System.Drawing.Point, System.Drawing.Point, System.Drawing.Point)

Adds a cubic Bézier curve to the current figure.

AddBezier(System.Drawing.PointF, System.Drawing.PointF, System.Drawing.PointF, System.Drawing.PointF)

Adds a cubic Bézier curve to the current figure.

AddBezier(int, int, int, int, int, int, int, int)

Adds a cubic Bézier curve to the current figure.

AddBezier(float, float, float, float, float, float, float, float)

Adds a cubic Bézier curve to the current figure.

AddBeziers(params System.Drawing.Point[])

Adds a sequence of connected cubic Bézier curves to the current figure.

AddBeziers(System.Drawing.PointF[])

Adds a sequence of connected cubic Bézier curves to the current figure.

AddClosedCurve(System.Drawing.Point[])

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.

AddClosedCurve(System.Drawing.PointF[])

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.

AddClosedCurve(System.Drawing.Point[], float)

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.

AddClosedCurve(System.Drawing.PointF[], float)

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(System.Drawing.Point[])

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.

AddCurve(System.Drawing.PointF[])

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.

AddCurve(System.Drawing.Point[], float)

Adds a spline curve to the current figure.

AddCurve(System.Drawing.PointF[], float)

Adds a spline curve to the current figure.

AddCurve(System.Drawing.Point[], int, int, float)

Adds a spline curve to the current figure.

AddCurve(System.Drawing.PointF[], int, int, float)

Adds a spline curve to the current figure.

AddEllipse(System.Drawing.Rectangle)

Adds an ellipse to the current path.

AddEllipse(System.Drawing.RectangleF)

Adds an ellipse to the current path.

AddEllipse(int, int, int, int)

Adds an ellipse to the current path.

AddEllipse(float, float, float, float)

Adds an ellipse to the current path.

AddLine(System.Drawing.Point, System.Drawing.Point)

Appends a line segment to this System.Drawing.Drawing2D.GraphicsPath.

AddLine(System.Drawing.PointF, System.Drawing.PointF)

Appends a line segment to this System.Drawing.Drawing2D.GraphicsPath.

AddLine(int, int, int, int)

Appends a line segment to the current figure.

AddLine(float, float, float, float)

Appends a line segment to this System.Drawing.Drawing2D.GraphicsPath.

AddLines(System.Drawing.Point[])

Appends a series of connected line segments to the end of this System.Drawing.Drawing2D.GraphicsPath.

AddLines(System.Drawing.PointF[])

Appends a series of connected line segments to the end of this System.Drawing.Drawing2D.GraphicsPath.

AddPath(GraphicsPath, bool)

Appends the specified System.Drawing.Drawing2D.GraphicsPath to this path.

AddPie(System.Drawing.Rectangle, float, float)

Adds the outline of a pie shape to this path.

AddPie(int, int, int, int, float, float)

Adds the outline of a pie shape to this path.

AddPie(float, float, float, float, float, float)

Adds the outline of a pie shape to this path.

AddPolygon(System.Drawing.Point[])

Adds a polygon to this path.

AddPolygon(System.Drawing.PointF[])

Adds a polygon to this path.

AddRectangle(System.Drawing.Rectangle)

Adds a rectangle to this path.

AddRectangle(System.Drawing.RectangleF)

Adds a rectangle to this path.

AddRectangles(System.Drawing.Rectangle[])

Adds a series of rectangles to this path.

AddRectangles(System.Drawing.RectangleF[])

Adds a series of rectangles to this path.

AddString(string, System.Drawing.FontFamily, int, float, System.Drawing.Point, System.Drawing.StringFormat)

Adds a text string to this path.

AddString(string, System.Drawing.FontFamily, int, float, System.Drawing.PointF, System.Drawing.StringFormat)

Adds a text string to this path.

AddString(string, System.Drawing.FontFamily, int, float, System.Drawing.Rectangle, System.Drawing.StringFormat)

Adds a text string to this path.

AddString(string, System.Drawing.FontFamily, int, float, System.Drawing.RectangleF, System.Drawing.StringFormat)

Adds a text string to this path.

ClearMarkers()

Clears all markers from this path.

Clone() : object

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.

Dispose()

Releases all resources used by this System.Drawing.Drawing2D.GraphicsPath.

Finalize()
Documentation for this section has not yet been entered.
Flatten()

Converts each curve in this path into a sequence of connected line segments.

Flatten(Matrix)

Applies the specified transform and then converts each curve in this System.Drawing.Drawing2D.GraphicsPath into a sequence of connected line segments.

Flatten(Matrix, float)

Converts each curve in this System.Drawing.Drawing2D.GraphicsPath into a sequence of connected line segments.

GetBounds() : System.Drawing.RectangleF

Returns a rectangle that bounds this System.Drawing.Drawing2D.GraphicsPath.

GetBounds(Matrix) : System.Drawing.RectangleF

Returns a rectangle that bounds this System.Drawing.Drawing2D.GraphicsPath when this path is transformed by the specified System.Drawing.Drawing2D.Matrix.

GetBounds(Matrix, System.Drawing.Pen) : System.Drawing.RectangleF

Returns a rectangle that bounds this System.Drawing.Drawing2D.GraphicsPath when the current path is transformed by the specified System.Drawing.Drawing2D.Matrix and drawn with the specified System.Drawing.Pen.

GetLastPoint() : System.Drawing.PointF

Gets the last point in the GraphicsPath.PathPoints array of this System.Drawing.Drawing2D.GraphicsPath.

IsOutlineVisible(System.Drawing.Point, System.Drawing.Pen) : bool

Indicates whether the specified point is contained within (under) the outline of this System.Drawing.Drawing2D.GraphicsPath when drawn with the specified System.Drawing.Pen.

IsOutlineVisible(System.Drawing.PointF, System.Drawing.Pen) : bool

Indicates whether the specified point is contained within (under) the outline of this System.Drawing.Drawing2D.GraphicsPath when drawn with the specified System.Drawing.Pen.

IsOutlineVisible(System.Drawing.Point, System.Drawing.Pen, System.Drawing.Graphics) : bool

Indicates whether the specified point is contained within (under) the outline of this System.Drawing.Drawing2D.GraphicsPath when drawn with the specified System.Drawing.Pen and using the specified System.Drawing.Graphics.

IsOutlineVisible(System.Drawing.PointF, System.Drawing.Pen, System.Drawing.Graphics) : bool

Indicates whether the specified point is contained within (under) the outline of this System.Drawing.Drawing2D.GraphicsPath when drawn with the specified System.Drawing.Pen and using the specified System.Drawing.Graphics.

IsOutlineVisible(int, int, System.Drawing.Pen) : bool

Indicates whether the specified point is contained within (under) the outline of this System.Drawing.Drawing2D.GraphicsPath when drawn with the specified System.Drawing.Pen.

IsOutlineVisible(float, float, System.Drawing.Pen) : bool

Indicates whether the specified point is contained within (under) the outline of this System.Drawing.Drawing2D.GraphicsPath when drawn with the specified System.Drawing.Pen.

IsOutlineVisible(int, int, System.Drawing.Pen, System.Drawing.Graphics) : bool

Indicates whether the specified point is contained within (under) the outline of this System.Drawing.Drawing2D.GraphicsPath when drawn with the specified System.Drawing.Pen and using the specified System.Drawing.Graphics.

IsOutlineVisible(float, float, System.Drawing.Pen, System.Drawing.Graphics) : bool

Indicates whether the specified point is contained within (under) the outline of this System.Drawing.Drawing2D.GraphicsPath when drawn with the specified System.Drawing.Pen and using the specified System.Drawing.Graphics.

IsVisible(System.Drawing.Point) : bool

Indicates whether the specified point is contained within this System.Drawing.Drawing2D.GraphicsPath.

IsVisible(System.Drawing.PointF) : bool

Indicates whether the specified point is contained within this System.Drawing.Drawing2D.GraphicsPath.

IsVisible(System.Drawing.Point, System.Drawing.Graphics) : bool

Indicates whether the specified point is contained within this System.Drawing.Drawing2D.GraphicsPath.

IsVisible(System.Drawing.PointF, System.Drawing.Graphics) : bool

Indicates whether the specified point is contained within this System.Drawing.Drawing2D.GraphicsPath.

IsVisible(int, int) : bool

Indicates whether the specified point is contained within this System.Drawing.Drawing2D.GraphicsPath.

IsVisible(float, float) : bool

Indicates whether the specified point is contained within this System.Drawing.Drawing2D.GraphicsPath.

IsVisible(int, int, System.Drawing.Graphics) : bool

Indicates whether the specified point is contained within this System.Drawing.Drawing2D.GraphicsPath, using the specified System.Drawing.Graphics.

IsVisible(float, float, System.Drawing.Graphics) : bool

Indicates whether the specified point is contained within this System.Drawing.Drawing2D.GraphicsPath in the visible clip region of the specified System.Drawing.Graphics.

Reset()

Empties the GraphicsPath.PathPoints and GraphicsPath.PathTypes arrays and sets the System.Drawing.Drawing2D.FillMode to FillMode.Alternate.

Reverse()

Reverses the order of points in the GraphicsPath.PathPoints array of this System.Drawing.Drawing2D.GraphicsPath.

SetMarkers()

Sets a marker on this System.Drawing.Drawing2D.GraphicsPath.

StartFigure()

Starts a new figure without closing the current figure. All subsequent points added to the path are added to this new figure.

Transform(Matrix)

Applies a transform matrix to this System.Drawing.Drawing2D.GraphicsPath.

Warp(System.Drawing.PointF[], System.Drawing.RectangleF)

Applies a warp transform, defined by a rectangle and a parallelogram, to this System.Drawing.Drawing2D.GraphicsPath.

Warp(System.Drawing.PointF[], System.Drawing.RectangleF, Matrix)

Applies a warp transform, defined by a rectangle and a parallelogram, to this System.Drawing.Drawing2D.GraphicsPath.

Warp(System.Drawing.PointF[], System.Drawing.RectangleF, Matrix, WarpMode)

Applies a warp transform, defined by a rectangle and a parallelogram, to this System.Drawing.Drawing2D.GraphicsPath.

Warp(System.Drawing.PointF[], System.Drawing.RectangleF, Matrix, WarpMode, float)

Applies a warp transform, defined by a rectangle and a parallelogram, to this System.Drawing.Drawing2D.GraphicsPath.

Widen(System.Drawing.Pen)

Adds an additional outline to the path.

Widen(System.Drawing.Pen, Matrix)

Adds an additional outline to the System.Drawing.Drawing2D.GraphicsPath.

Widen(System.Drawing.Pen, Matrix, float)

Replaces this System.Drawing.Drawing2D.GraphicsPath with curves that enclose the area that is filled when this path is drawn by the specified pen.