# IGraphicsPath interface

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

```cs
public interface IGraphicsPath : IDisposable, IControlObjectSource
```

Graphics path to be used for drawing or filling using a [Graphics](https://eto.picoe.ca/api/type/eto.drawing.graphics.md) object

**Remarks:** A graphics path can contain multiple figures comprised of various components such as line, arc, curve, etc.

**Derived types:** [GraphicsPath](https://eto.picoe.ca/api/type/eto.drawing.graphicspath.md), [GraphicsPath.IHandler](https://eto.picoe.ca/api/type/eto.drawing.graphicspath.ihandler.md)

## Properties

- [Bounds](https://eto.picoe.ca/api/type/eto.drawing.igraphicspath/bounds.md): Gets the bounding rectangle for this path
- [CurrentPoint](https://eto.picoe.ca/api/type/eto.drawing.igraphicspath/currentpoint.md): Gets the current point
- [FillMode](https://eto.picoe.ca/api/type/eto.drawing.igraphicspath/fillmode.md): Gets or sets a value indicating how this graphics path should be filled.
- [IsEmpty](https://eto.picoe.ca/api/type/eto.drawing.igraphicspath/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.igraphicspath/addarc.md): Adds an arc into the specified rectangle
- [AddBezier](https://eto.picoe.ca/api/type/eto.drawing.igraphicspath/addbezier.md): Adds a bezier curve to the path with two control points
- [AddCurve](https://eto.picoe.ca/api/type/eto.drawing.igraphicspath/addcurve.md): Adds a curve that intersects with the specified `points` to the path
- [AddEllipse](https://eto.picoe.ca/api/type/eto.drawing.igraphicspath/addellipse.md): Adds an ellipse to the path
- [AddLine](https://eto.picoe.ca/api/type/eto.drawing.igraphicspath/addline.md): Adds a line to the path with the specified start and end points
- [AddLines](https://eto.picoe.ca/api/type/eto.drawing.igraphicspath/addlines.md): Adds lines to each of the specified `points` to the path
- [AddPath](https://eto.picoe.ca/api/type/eto.drawing.igraphicspath/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.igraphicspath/addrectangle.md): Adds a rectangle to the path
- [Clone](https://eto.picoe.ca/api/type/eto.drawing.igraphicspath/clone.md): Creates a clone of the graphics path
- [CloseFigure](https://eto.picoe.ca/api/type/eto.drawing.igraphicspath/closefigure.md): Closes the current figure by connecting a line to the beginning of the figure
- [FillContains](https://eto.picoe.ca/api/type/eto.drawing.igraphicspath/fillcontains.md): Gets a value indicating that the specified `point` is contained by the path when filled
- [LineTo](https://eto.picoe.ca/api/type/eto.drawing.igraphicspath/lineto.md): Adds a line from the current position to the specified location
- [MoveTo](https://eto.picoe.ca/api/type/eto.drawing.igraphicspath/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.igraphicspath/startfigure.md): Starts a new figure without closing the current figure
- [StrokeContains](https://eto.picoe.ca/api/type/eto.drawing.igraphicspath/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.igraphicspath/transform.md): Transforms the points in the path with the specified matrix

## Inherited Members

- From [IControlObjectSource](https://eto.picoe.ca/api/type/eto.icontrolobjectsource.md): [ControlObject](https://eto.picoe.ca/api/type/eto.icontrolobjectsource/controlobject.md)
