Click or drag to resize

IGraphicsPath Interface

Graphics path to be used for drawing or filling using a Graphics object

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.4.0
Syntax
public interface IGraphicsPath : IDisposable, 
	IControlObjectSource

The IGraphicsPath type exposes the following members.

Properties
  NameDescription
Public propertyBounds
Gets the bounding rectangle for this path
Public propertyCurrentPoint
Gets the current point
Public propertyFillMode
Gets or sets a value indicating how this graphics path should be filled.
Public propertyIsEmpty
Gets a value indicating that this graphics path is empty and has no segments
Top
Methods
  NameDescription
Public methodAddArc
Adds an arc into the specified rectangle
Public methodAddBezier
Adds a bezier curve to the path with two control points
Public methodAddCurve
Adds a curve that intersects with the specified points to the path
Public methodAddEllipse
Adds an ellipse to the path
Public methodAddLine
Adds a line to the path with the specified start and end points
Public methodAddLines
Adds lines to each of the specified points to the path
Public methodAddPath
Adds the specified path to the current path, optionally connecting the current figure to the start of the path
Public methodAddRectangle
Adds a rectangle to the path
Public methodClone
Creates a clone of the graphics path
Public methodCloseFigure
Closes the current figure by connecting a line to the beginning of the figure
Public methodLineTo
Adds a line from the current position to the specified location
Public methodMoveTo
Moves the current position to the specified location without adding anything to the path
Public methodStartFigure
Starts a new figure without closing the current figure
Public methodTransform
Transforms the points in the path with the specified matrix
Top
Extension Methods
  NameDescription
Public Extension MethodAddArc
Adds an arc to the path at the specified location
(Defined by GraphicsPathExtensions.)
Public Extension MethodAddCurve(PointF)Overloaded.
Adds a curve that intersects with the specified points to the path
(Defined by GraphicsPathExtensions.)
Public Extension MethodAddCurve(Single, PointF)Overloaded.
Adds a curve that intersects with the specified points to the path with the given tension
(Defined by GraphicsPathExtensions.)
Public Extension MethodAddEllipse
Adds an ellipse to the path at the specified location
(Defined by GraphicsPathExtensions.)
Public Extension MethodAddLine
Adds a line to the path
(Defined by GraphicsPathExtensions.)
Public Extension MethodAddLines
Adds lines to each of the specified points
(Defined by GraphicsPathExtensions.)
Public Extension MethodAddRectangle
Adds a rectangle to the path at the specified location
(Defined by GraphicsPathExtensions.)
Public Extension MethodLineTo
Adds a line from the current position to the specified location
(Defined by GraphicsPathExtensions.)
Public Extension MethodMoveTo
Moves the current position to the specified point without adding anything to the path
(Defined by GraphicsPathExtensions.)
Top
Remarks
A graphics path can contain multiple figures comprised of various components such as line, arc, curve, etc.
See Also