[]
Cross-platform graphics path implementation. Represents a series of connected lines and curves.
public sealed class GraphicsPath : IDisposable
| Name | Description |
|---|---|
| GraphicsPath() |
| Name | Description |
|---|---|
| PathPoints | Gets the points in the path. |
| PathTypes |
| Name | Description |
|---|---|
| AddArc(float, float, float, float, float, float) | Appends an elliptical arc to the current figure. |
| AddBeziers(PointF[]) | Adds a sequence of connected cubic Bézier curves to the current figure. |
| AddCurve(PointF[], float) | 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(float, float, float, float) | Adds an ellipse to the current path. |
| AddLine(PointF, PointF) | Appends a line segment to this GraphicsPath. |
| AddLine(float, float, float, float) | Appends a line segment to this GraphicsPath. |
| AddLines(PointF[]) | Appends a series of connected line segments to the end of this GraphicsPath. |
| AddPath(GraphicsPath, bool) | Appends the specified GraphicsPath to this path. |
| AddPolygon(PointF[]) | Adds a polygon to this path. |
| AddRectangle(RectangleF) | Adds a rectangle to this path and closes the figure. |
| 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. |
| Dispose() | |
| Flatten(float) | Converts each curve in this path into a sequence of connected line segments. |
| GetBounds() | Returns a rectangle that bounds this GraphicsPath. |
| GetLastPoint() | Gets the last point in the PathPoints array of this GraphicsPath. |
| IsVisible(PointF) | Indicates whether the specified point is contained within this GraphicsPath. |
| Reverse() | Reverses the order of points in the PathPoints array of this GraphicsPath. |
| Transform(Matrix3x2) | Applies a transform matrix to this GraphicsPath. |
| Widen(float) | Replaces this path with sequence of connected line segments that enclose the area. |