GraphicsPathExtensionMethods
Provides extension methods for the Eto graphicspath.
Methods
Add an arc to the graphics path.
Parameters:
| path (GraphicsPath) | Path to append to. |
| arc (ArcF) | Arc to append. |
Add a circular arc to the graphics path.
public static void AddArc(this GraphicsPath path, PointF start, PointF end, SizeF tangent)
Add a circular arc to the graphics path.
Parameters:
| path (GraphicsPath) | Path to add to. |
| start (PointF) | Start of circular arc. |
| end (PointF) | End of circular arc. |
| tangent (SizeF) | Tangent at start. |
Add an arc to the lower-left of a corner point.
Add the arc in the lower left corner of a rectangle.
Add an arc to the lower-right of a corner point.
Add the arc in the lower right corner of a rectangle.
Add an arc to the upper-left of a corner point.
Add the arc in the upper left corner of a rectangle.
Add an arc to the upper-right of a corner point.
Add the arc in the upper right corner of a rectangle.
Add a BezierF to this graphics path.
Parameters:
| path (GraphicsPath) | Path to append to. |
| bezier (BezierF) | Bezier curve to add. |
Add a circle to the graphics path.
Parameters:
| path (GraphicsPath) | Path to add to. |
| circle (CircleF) | Circle to add. |
Add a Rhino curve to the path.
Add an ellipse to the graphics path.
Parameters:
| path (GraphicsPath) | Path to extend. |
| ellipse (EllipseF) | Ellipse to add. |
Add the outline of a bar with rounded corners on the top. It is the responsibility of the caller to not pick radii which add up to more than the width of the bounds.
Gets a graphics path representing the contents of the bottom part of this rectangle along with rounded corners. Note that the height in this case is measured upwards from the bottom of the rectangle.
Parameters:
| rec (RectangleF) | |
| radii (CornerRadii) | |
| height (float) |
Returns: Graphics path or null if no solution is possible with the given constraints.
Gets a graphics path representing the contents of the top part of this rectangle along with rounded corners.
Parameters:
| rec (RectangleF) | |
| radii (CornerRadii) | |
| height (float) |
Returns: Graphics path or null if no solution is possible with the given constraints.