Click or drag to resize

GraphicsPath Methods

The GraphicsPath type exposes the following members.

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 methodStatic memberCreate
Creates a new instance of the IGraphicsPath for the specified generator
Public methodDispose
Releases all resources used by the GraphicsPath object
Protected methodDispose(Boolean)
Disposes the graphics path
Public methodStatic memberGetRoundRect(RectangleF, Single)
Creates a rounded rectangle using the specified corner radius
Public methodStatic memberGetRoundRect(RectangleF, Single, Single, Single, Single)
Creates a rounded rectangle using the specified corner radius
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
See Also