Methods
public static void AddArc(this IGraphicsPath path, RectangleF location, float startAngle, float sweepAngle)
Adds an arc to the path at the specified
locationParameters:
| path (IGraphicsPath) | Path to add the arc to |
| location (RectangleF) | Location of the bounding rectangle of the arc |
| startAngle (float) | Start angle in degrees |
| sweepAngle (float) | Sweep angle (positive or negative) in degrees |
Adds a curve that intersects with the specified
points to the path with the given tensionParameters:
| path (IGraphicsPath) | Path to add the curve to |
| tension (float) | Tension between points in the curve. Should be between 0 (no curve) and 1 (more curve) |
| points (params PointF[]) | Points that intersect with the curve |
Adds a curve that intersects with the specified
points to the pathParameters:
| path (IGraphicsPath) | Path to add the curve to |
| points (params PointF[]) | Points that define where the curve intersects |
Adds an ellipse to the path at the specified
locationParameters:
| path (IGraphicsPath) | Path to add the ellipse to |
| location (RectangleF) | Location of the bounding rectangle of the ellipse |
Adds a line to the path
Parameters:
| path (IGraphicsPath) | Path to add the line to |
| start (PointF) | Starting point for the line |
| end (PointF) | Ending point for the line |
Adds lines to each of the specified
pointsParameters:
| path (IGraphicsPath) | Path to add the lines to |
| points (params PointF[]) | Points for each line |
Adds a rectangle to the path at the specified
locationParameters:
| path (IGraphicsPath) | Path to add the rectangle to |
| location (RectangleF) | Location of the rectangle |
Adds a line from the current position to the specified location
Parameters:
| path (IGraphicsPath) | Path to add the line to |
| point (PointF) | Ending point for the line |
Moves the current position to the specified
point without adding anything to the pathParameters:
| path (IGraphicsPath) | Path to move the current position |
| point (PointF) | Point to move to |