GraphicsPath
Represents a series of connected lines and curves. This class cannot be inherited.
Gets or sets a FillMode enumeration that determines how the interiors of shapes in this GraphicsPath are filled.
Gets a PathData that encapsulates arrays of points (points) and types (types) for this GraphicsPath.
Gets the points in the path.
Gets the types of the corresponding points in the PathPoints array.
Gets the number of elements in the PathPoints or the PathTypes array.
public GraphicsPath()
Initializes a new instance of the GraphicsPath class with the specified FillMode enumeration.
Initializes a new instance of the GraphicsPath array with the specified PathPointType and PointF arrays.
Initializes a new instance of the GraphicsPath array with the specified PathPointType and PointF arrays and with the specified FillMode enumeration element.
Initializes a new instance of the GraphicsPath class with the specified PathPointType and Point arrays.
Initializes a new instance of the GraphicsPath class with the specified PathPointType and Point arrays and with the specified FillMode enumeration element.
Appends an elliptical arc to the current figure.
Appends an elliptical arc to the current figure.
Appends an elliptical arc to the current figure.
Appends an elliptical arc to the current figure.
Adds a cubic Bézier curve to the current figure.
Adds a cubic Bézier curve to the current figure.
Adds a cubic Bézier curve to the current figure.
public void AddBezier(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4)
Adds a cubic Bézier curve to the current figure.
Adds a sequence of connected cubic Bézier curves to the current figure.
Adds a sequence of connected cubic Bézier curves to the current figure.
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.
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.
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.
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.
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.
Adds a spline curve to the current figure.
Adds a spline curve to the current figure.
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.
Adds a spline curve to the current figure.
Adds a spline curve to the current figure.
Adds an ellipse to the current path.
Adds an ellipse to the current path.
Adds an ellipse to the current path.
Adds an ellipse to the current path.
Appends a line segment to this GraphicsPath.
Appends a line segment to this GraphicsPath.
Appends a line segment to the current figure.
Appends a line segment to this GraphicsPath.
Appends a series of connected line segments to the end of this GraphicsPath.
Appends a series of connected line segments to the end of this GraphicsPath.
Appends the specified GraphicsPath to this path.
Adds the outline of a pie shape to this path.
Adds the outline of a pie shape to this path.
Adds the outline of a pie shape to this path.
Adds a polygon to this path.
Adds a polygon to this path.
Adds a rectangle to this path.
Adds a rectangle to this path.
Adds a series of rectangles to this path.
Adds a series of rectangles to this path.
public void AddString(string s, FontFamily family, int style, float emSize, Point origin, StringFormat format)
Adds a text string to this path.
public void AddString(string s, FontFamily family, int style, float emSize, PointF origin, StringFormat format)
Adds a text string to this path.
public void AddString(string s, FontFamily family, int style, float emSize, Rectangle layoutRect, StringFormat format)
Adds a text string to this path.
public void AddString(string s, FontFamily family, int style, float emSize, RectangleF layoutRect, StringFormat format)
Adds a text string to this path.
Clears all markers from this path.
Creates an exact copy of this path.
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.
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.
Releases all resources used by this GraphicsPath.
Converts each curve in this path into a sequence of connected line segments.
Applies the specified transform and then converts each curve in this GraphicsPath into a sequence of connected line segments.
Converts each curve in this GraphicsPath into a sequence of connected line segments.
Returns a rectangle that bounds this GraphicsPath.
Returns a rectangle that bounds this GraphicsPath when this path is transformed by the specified Matrix.
Returns a rectangle that bounds this GraphicsPath when the current path is transformed by the specified Matrix and drawn with the specified Pen.
Gets the last point in the PathPoints array of this GraphicsPath.
Indicates whether the specified point is contained within (under) the outline of this GraphicsPath when drawn with the specified Pen.
Indicates whether the specified point is contained within (under) the outline of this GraphicsPath when drawn with the specified Pen and using the specified Graphics.
Indicates whether the specified point is contained within (under) the outline of this GraphicsPath when drawn with the specified Pen.
Indicates whether the specified point is contained within (under) the outline of this GraphicsPath when drawn with the specified Pen and using the specified Graphics.
Indicates whether the specified point is contained within (under) the outline of this GraphicsPath when drawn with the specified Pen.
Indicates whether the specified point is contained within (under) the outline of this GraphicsPath when drawn with the specified Pen and using the specified Graphics.
Indicates whether the specified point is contained within (under) the outline of this GraphicsPath when drawn with the specified Pen.
Indicates whether the specified point is contained within (under) the outline of this GraphicsPath when drawn with the specified Pen and using the specified Graphics.
Indicates whether the specified point is contained within this GraphicsPath.
Indicates whether the specified point is contained within this GraphicsPath.
Indicates whether the specified point is contained within this GraphicsPath.
Indicates whether the specified point is contained within this GraphicsPath.
Indicates whether the specified point is contained within this GraphicsPath.
Indicates whether the specified point is contained within this GraphicsPath, using the specified Graphics.
Indicates whether the specified point is contained within this GraphicsPath.
Indicates whether the specified point is contained within this GraphicsPath in the visible clip region of the specified Graphics.
Reverses the order of points in the PathPoints array of this GraphicsPath.
Sets a marker on this GraphicsPath.
Starts a new figure without closing the current figure. All subsequent points added to the path are added to this new figure.
Applies a transform matrix to this GraphicsPath.
Applies a warp transform, defined by a rectangle and a parallelogram, to this GraphicsPath.
Applies a warp transform, defined by a rectangle and a parallelogram, to this GraphicsPath.
Applies a warp transform, defined by a rectangle and a parallelogram, to this GraphicsPath.
public void Warp(PointF[] destPoints, RectangleF srcRect, Matrix matrix, WarpMode warpMode, float flatness)
Applies a warp transform, defined by a rectangle and a parallelogram, to this GraphicsPath.
Adds an additional outline to the path.
Adds an additional outline to the GraphicsPath.
Replaces this GraphicsPath with curves that enclose the area that is filled when this path is drawn by the specified pen.