# GraphicsPath class

Namespace: [Eto.Drawing](https://eto.picoe.ca/api/namespace/eto.drawing.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
[Handler(IGraphicsPath)]
public class GraphicsPath : IGraphicsPath, IHandlerSource
```

Defines primitives that can be used to draw or fill a path on a [Graphics](https://eto.picoe.ca/api/type/eto.drawing.graphics.md) object

**Remarks:** This is a thin wrapper around the [IGraphicsPath](https://eto.picoe.ca/api/type/eto.drawing.igraphicspath.md) interface, which is created via [GraphicsPath.Create()](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/create.md).

## Constructors

- [GraphicsPath](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/ctor.md): (2 overloads) Initializes a new instance of the GraphicsPath class

## Properties

- [Bounds](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/bounds.md): Gets the bounding rectangle for this path
- [CurrentPoint](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/currentpoint.md): Gets the current point
- [IControlObjectSource.ControlObject](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/eto-icontrolobjectsource-controlobject.md): Gets the platform-specific control object
- [IHandlerSource.Handler](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/eto-ihandlersource-handler.md)
- [FillMode](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/fillmode.md): Sets a value indicating how this graphics path should be filled.
- [Instantiator](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/instantiator.md): (static, obsolete) Creates a delegate that can be used to create instances of the [IGraphicsPath](https://eto.picoe.ca/api/type/eto.drawing.igraphicspath.md) with little overhead
- [IsEmpty](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/isempty.md): Gets a value indicating that this graphics path is empty and has no segments

## Methods

- [AddArc](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/addarc.md): Adds an arc into the specified rectangle
- [AddBezier](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/addbezier.md): Adds a bezier curve to the path with two control points
- [AddCurve](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/addcurve.md): Adds a curve that intersects with the specified `points` to the path
- [AddEllipse](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/addellipse.md): Adds an ellipse to the path
- [AddLine](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/addline.md): Adds a line to the path with the specified start and end points
- [AddLines](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/addlines.md): Adds lines to each of the specified `points` to the path
- [AddPath](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/addpath.md): Adds the specified `path` to the current path, optionally connecting the current figure to the start of the path
- [AddRectangle](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/addrectangle.md): Adds a rectangle to the path
- [Clone](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/clone.md): Creates a clone of the graphics path
- [CloseFigure](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/closefigure.md): Closes the current figure by connecting a line to the beginning of the figure
- [Create](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/create.md): (static) Creates a new instance of the IGraphicsPath for the specified generator
- [Dispose](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/dispose.md): (2 overloads) Releases all resources used by the [GraphicsPath](https://eto.picoe.ca/api/type/eto.drawing.graphicspath.md) object
- [FillContains](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/fillcontains.md): Gets a value indicating that the specified `point` is contained by the path when filled
- [GetRoundRect](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/getroundrect.md): (2 overloads, static) Creates a rounded rectangle using the specified corner radius
- [LineTo](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/lineto.md): Adds a line from the current position to the specified location
- [MoveTo](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/moveto.md): Moves the current position to the specified location without adding anything to the path
- [StartFigure](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/startfigure.md): Starts a new figure without closing the current figure
- [StrokeContains](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/strokecontains.md): Gets a value indicating that the spedified `point` is on the path when stroked with the specified `pen`
- [Transform](https://eto.picoe.ca/api/type/eto.drawing.graphicspath/transform.md): Transforms the points in the path with the specified matrix
