Search
IGraphicsPath Members
Properties Methods
 


Represents a series of connected lines and curves.

The following tables list the members exposed by the IGraphicsPath type.

 Public Properties

  Name Description

PathPoints

Gets the points in the path.

PointCount

Gets the number of points in the path.

 Public Methods

  Name Description

AddArc

Overloaded. Appends an elliptical arc to the current figure.

AddBezier

Overloaded. Adds a cubic Bézier curve to the current figure.

AddBeziers

Adds a sequence of connected cubic Bézier curves to the current figure.

AddEllipse

Overloaded. Adds an ellipse to the current path.

AddLine

Overloaded. Appends a line segment to the current figure.

AddLines

Appends a series of connected line segments to the end of this IGraphicsPath.

AddPolygon

Adds a polygon to the current figure.

AddRectangle

Overloaded. Adds a rectangle to this path.

AddRoundRect

Adds a rounded rectangle to this path.

CloseFigure

Closes the current figure and starts a new figure. If the current figure contains a sequence of connected lines and curves, the method closes the loop by connecting a line from the endpoint to the starting point.

Flatten

Overloaded. Converts each curve in this path into a sequence of connected line segments.

GetBounds

Returns a rectangle that bounds this IGraphicsPath.

GetLastPoint

Gets the current last point in the path, if any, otherwise, null.

IntersectsWith

Checks whether this IGraphicsPath intersects with the specified IGraphicsPath.

IsVisible

Indicates whether the specified point is contained within this IGraphicsPath.

StartFigure

Starts a new figure without closing the current figure. All subsequent points added to the path are added to this new figure.

Transform

Applies a transform matrix to this IGraphicsPath.

 See Also