Skip to main content
All docs
V23.2

DXGraphicsPath Members

Defines a series of connected lines and curves.

Constructors

Name Description
DXGraphicsPath(DXFillMode) Initializes a new instance of the DXGraphicsPath class with specified settings.
DXGraphicsPath(DXGraphicsPathData) Initializes a new instance of the DXGraphicsPath class with specified settings.
DXGraphicsPath(IReadOnlyList<PointF>, IReadOnlyList<DXPathPointType>, DXFillMode) Initializes a new instance of the DXGraphicsPath class with specified settings.

Properties

Name Description
FillMode Gets or sets how to fill the interiors of shapes in the GraphicsPath instance.
PathPoints Retrieves the path points.
PathTypes Gets the types of the points in the PathPoints list.
PointCount Gets the number of path points.

Methods

Name Description
AddArc(RectangleF, Single, Single) Appends an elliptical arc to the current figure.
AddArc(Single, Single, Single, Single, Single, Single) Appends an elliptical arc to the current figure.
AddBezier(PointF, PointF, PointF, PointF) Adds a cubic Bezier curve to the current figure.
AddBezier(Single, Single, Single, Single, Single, Single, Single, Single) Adds a cubic Bezier curve to the current figure.
AddBeziers(IReadOnlyList<PointF>) Adds a sequence of connected cubic Bezier curves to the current figure.
AddCurve(PointF[], Single) Adds a spline curve to the current figure.
AddCurve(PointF[]) Adds a spline curve to the current figure.
AddEllipse(RectangleF) Adds an ellipse to the current path.
AddEllipse(Single, Single, Single, Single) Adds an ellipse to the current path.
AddLine(PointF, PointF) Appends a line segment to the figure.
AddLine(Single, Single, Single, Single) Appends a line segment to the figure.
AddLines(IReadOnlyList<PointF>) Appends a line segment to the figure.
AddPath(DXGraphicsPath, Boolean) Appends a sequence of lines and curves to this path.
AddPie(Rectangle, Single, Single) Adds the outline of a pie shape to this path.
AddPie(Single, Single, Single, Single, Single, Single) Adds the outline of a pie shape to this path.
AddPolygon(IReadOnlyList<PointF>) Adds a polygon to the figure.
AddRectangle(RectangleF) Adds a rectangle to a figure.
AddRectangles(IReadOnlyList<RectangleF>) Adds a series of rectangles to this path.
AddString(String, DXFont, PointF, DXStringFormat) Adds a text string to this path.
AddString(String, DXFont, RectangleF, DXStringFormat) Adds a text string to this path.
Clone() Clones the DXGraphicsPath object.
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.
Dispose() Disposes of the DXGraphicsPath object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Flatten() Converts each curve in the path into a sequence of connected line segments.
Flatten(DXMatrix, Single) Applies the specified transform and converts each curve in this GraphicsPath into a sequence of connected line segments.
Flatten(DXMatrix) Applies the specified transform and converts each curve in the GraphicsPath into a sequence of connected line segments.
GetBounds() Returns bounds of this GraphicsPath instance.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetLastPoint() Gets the last point in the PathPoints array.
GetPathData() Gets a path data (a list of points and types) for this GraphicsPath.
GetType() Gets the Type of the current instance. Inherited from Object.
IsVisible(PointF) Indicates whether the DXGraphicsPath instance contains the specified point.
IsVisible(Single, Single) Indicates whether the DXGraphicsPath instance contains the specified point.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reset() Reverts properties of the current object to default values.
StartFigure() Starts a new figure without closing the current figure. All subsequent points added to the path are added to this new figure.
ToString() Returns a string that represents the current object. Inherited from Object.
Transform(DXMatrix) Applies a transform matrix to this GraphicsPath.
Widen(DXPen, DXMatrix) Adds an additional outline to the DXGraphicsPath object.
Widen(DXPen) Adds an additional outline to the path.
See Also